Type Alias Error

An error object describing the error.

type Error = {
    code: string;
    detail?: string;
    meta?: unknown;
    source?: { parameter?: string; pointer?: string };
    status?: number;
    title: string;
}
Index

Properties

code: string

The error code.

detail?: string
meta?: unknown
source?: { parameter?: string; pointer?: string }

Type Declaration

  • Optionalparameter?: string

    The URI query parameter that caused the error.

  • Optionalpointer?: string
status?: number
title: string