mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
- Bump SDK version to 0.4.0-beta.54 - Add `server.device-info` RPC endpoint and `s9pk select` CLI command - Extract `HardwareRequirements::is_compatible()` method, reuse in registry filtering - Add `AbortedError` class with `muteUnhandled` flag, replace generic abort errors - Handle unhandled promise rejections in container-runtime with mute support - Improve `InputSpec.filter()` with `keepByDefault` param and boolean filter values - Accept readonly tuples in `CommandType` and `splitCommand` - Remove `sync_host` calls from host API handlers (binding/address changes) - Filter mDNS hostnames by secure gateway availability - Derive mDNS enabled state from LAN IPs in web UI - Add "Open UI" action to address table, disable mDNS toggle - Hide debug details in service error component - Update rpc-toolkit docs for no-params handlers
11 lines
296 B
TypeScript
11 lines
296 B
TypeScript
export class AbortedError extends Error {
|
|
readonly muteUnhandled = true as const
|
|
declare cause?: unknown
|
|
|
|
constructor(message?: string, options?: { cause?: unknown }) {
|
|
super(message)
|
|
this.name = 'AbortedError'
|
|
if (options?.cause !== undefined) this.cause = options.cause
|
|
}
|
|
}
|