(id: string)
| 55 | } |
| 56 | |
| 57 | export function sessionNotFound(id: string): ApiError { |
| 58 | return new ApiError(ApiErrorCode.SESSION_NOT_FOUND, `Session not found: ${id}`) |
| 59 | } |
| 60 | |
| 61 | export function invalidFormat(message: string): ApiError { |
| 62 | return new ApiError(ApiErrorCode.INVALID_FORMAT, message) |