Skip to content

Commit

Permalink
feat(#239): draft groups API implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumpy-Squirrel committed Apr 19, 2024
1 parent 79a3bc0 commit f0ccf92
Show file tree
Hide file tree
Showing 5 changed files with 418 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/apis/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ export class LoginRequiredError extends Error {
}
}

export interface ErrorDto<ErrorMessage extends string> {
export interface ErrorDto<ErrorMessageEnum extends string> {
// The time at which the error occurred.
readonly timestamp: string // 2006-01-02T15:04:05+07:00

// An internal trace id assigned to the error. Used to find logs associated with errors across our services. Display to the user as something to communicate to us with inquiries about the error.
readonly requestid: string // a8b7c6d5

// A keyed description of the error. We do not write human-readable text here because the user interface will be multi-language.
readonly message: ErrorMessage // attendee.owned.notfound or similar
readonly message: ErrorMessageEnum // attendee.owned.notfound or similar

// Optional additional details about the error. If available, will usually contain English language technobabble.
readonly details: Readonly<Record<string, readonly string[]>>
Expand Down
Loading

0 comments on commit f0ccf92

Please sign in to comment.