Type Alias Error

Represents a single error condition with details about what went wrong.

type Error = {
    code?: string;
    detail?: string;
    source?: ErrorSource;
    status?: number;
    title?: string;
}
Index

Properties

code?: string

Machine-readable error code for programmatic handling.

detail?: string
source?: ErrorSource
status?: number
title?: string