Type Alias MetaV2

Additional metadata associated with an error.

type MetaV2 = {
    statusCode?: number;
}
Index

Properties

Properties

statusCode?: number

The HTTP status code for the error. Generally speaking, the following codes have these meanings: 200 - Success, 201 - Success (object created), 400 - Error with user input, 403 - Authorization error (user lacks permission), 404 - Object not found, 409 - Attempt to change an object using an obsolete last ModifiedDate.