Type alias SpannerdError

SpannerdError: {
    id?: string;
    message: string;
    service: string;
}

Object that is used to create new error and returned in an array when getting all errors.

Type declaration

  • Optional id?: string

    Any unique string can be used as ID for error. If not provided when creating new error, it will be auto-generated and returned. Can be used to edit existing error using error.new request or remove/clear it.

  • message: string

    Error message describing the issue.

  • service: string

    Name of the service where error originated.

Generated using TypeDoc