mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-05 03:41:39 +00:00
8 lines
328 B
TypeScript
8 lines
328 B
TypeScript
export class PreparedModelRuntimeOwnerNotPublishedError extends Error {}
|
|
|
|
export class PreparedModelRuntimePublicationSupersededError extends PreparedModelRuntimeOwnerNotPublishedError {}
|
|
|
|
export function toPreparedModelRuntimeError(error: unknown): Error {
|
|
return error instanceof Error ? error : new Error(String(error));
|
|
}
|