(
readonly route: string,
readonly status: number,
message: string,
)
| 63 | /** Ein Fehler einer /api-Route, mit dem Status, den sie geliefert hat. */ |
| 64 | export class AtlasApiError extends Error { |
| 65 | constructor( |
| 66 | readonly route: string, |
| 67 | readonly status: number, |
| 68 | message: string, |
| 69 | ) { |
| 70 | super(message); |
| 71 | this.name = 'AtlasApiError'; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | function isRecord(value: unknown): value is Record<string, unknown> { |
nothing calls this directly
no outgoing calls
no test coverage detected