Type Alias ErrorResponse

{
* error: "util.Error",
* errors: [
* {
* code: "LICENSES-123",
* title: "error title"
* }
* ],
* message: "error message"
* }
type ErrorResponse = {
    error: string;
    errors: { code: string; detail?: string; title: string }[];
    message: string;
}
Index

Properties

Properties

error: string

Error type

errors: { code: string; detail?: string; title: string }[]

Type declaration

  • code: string

    Error code

  • Optionaldetail?: string

    Additional error detail.

  • title: string

    Error title

message: string

Error message