Returned when a resource cannot be deleted because it is being referenced by another resource.

interface ReferenceExistsError {
    code: "ReferenceExists";
    message: string;
    referencedBy?: string;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

code: "ReferenceExists"

Error identifier.

message: string

"Can not delete a $resource while it is referenced by at least one $referencedBy."

referencedBy?: string

Type of referenced resource.