(message: string, hint?: string)
| 56 | } |
| 57 | |
| 58 | export function notFound(message: string, hint?: string): ApiError { |
| 59 | return new ApiError('not-found', message, hint); |
| 60 | } |
| 61 | |
| 62 | /** Send a successful payload. */ |
| 63 | export function ok(res: ServerResponse, payload: unknown, method: string): true { |
no outgoing calls
no test coverage detected