Type Alias Error

An error object.

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

Properties

Properties

code: string

The error code.

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

Type Declaration

  • Optionalsource?: { parameter?: string; pointer?: string }

    References to the source of the error.

    • Optionalparameter?: string

      The URI query parameter that caused the error.

    • Optionalpointer?: string
title: string