An explicit error that can be thrown from a handler to send an error to the client that called the function.

Index

Constructors

Properties

Constructors

constructor

Properties

code

A standard error code that will be returned to the client. This also determines the HTTP status code of the response, as defined in code.proto.

details

details: unknown

Extra data to be converted to JSON and included in the error response.

message

message: string

name

name: string

Optional stack

stack: string

Static Error

Error: ErrorConstructor