@restorecommerce/chassis-srv
Version:
Restore Commerce microservice chassis
146 lines • 3.64 kB
TypeScript
/**
* Canceled indicates the operation was cancelled (typically by the caller).
*/
export declare class Cancelled extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* InvalidArgument indicates client specified an invalid argument.
*/
export declare class InvalidArgument extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* NotFound means some requested entity was not found.
*/
export declare class NotFound extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* AlreadyExists means an entity the operation attempted to create
* already exists.
*/
export declare class AlreadyExists extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* PermissionDenied indicates the caller does not have permission to
* execute the specified operation.
*/
export declare class PermissionDenied extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* Unauthenticated means the caller could not be authenticated.
*/
export declare class Unauthenticated extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* FailedPrecondition means the system is not in a state in which
* the operation can be executed. A precondition, for example a call
* to a different endpoint before this call is required.
*/
export declare class FailedPrecondition extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* Aborted indicates the operation was aborted because
* of transaction aborts or sequencer check failures.
*/
export declare class Aborted extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* OutOfRange means one of the provided arguments is
* outside the range of the iterated data.
*/
export declare class OutOfRange extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* Unimplemented means the endpoint is not implemented,
* not specified or not configured.
*/
export declare class Unimplemented extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* ResourceExhausted indicates that a quota or storage is used up.
*/
export declare class ResourceExhausted extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* DeadlineExceeded means the operation expired before completion.
* It does not mean the operation did not complete.
*/
export declare class DeadlineExceeded extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* Internal indicates an uncaught or unhandled server error.
*/
export declare class Internal extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* Unavailable indicates that the service currently is not
* processing requests.
* This is mostlikly only a short condition.
*/
export declare class Unavailable extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
/**
* DataLoss indicates unrecoverable data loss or corruption.
*/
export declare class DataLoss extends Error {
details: any;
name: string;
message: string;
constructor(details: any);
}
//# sourceMappingURL=errors.d.ts.map