Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
GamePasses.ErrorResponse — openapi
This is the base class for all custom Exceptions that are thrown in this API.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| errorCode | false | The ErrorCode for the exception. | |
| errorMessage | string | false | The human readable error message. |
| field | string | false | The relevant field that caused the error. |
| hint | string | false | A hint as to what caused the error, if applicable. |
Related Schemas
Complete Schema
{
"type": "object",
"properties": {
"errorCode": {
"allOf": [
{
"$ref": "#/components/schemas/GamePasses.ErrorCode"
}
],
"description": "The ErrorCode for the exception."
},
"errorMessage": {
"type": "string",
"description": "The human readable error message.",
"nullable": true
},
"field": {
"type": "string",
"description": "The relevant field that caused the error.",
"nullable": true
},
"hint": {
"type": "string",
"description": "A hint as to what caused the error, if applicable.",
"nullable": true
}
},
"additionalProperties": false,
"description": "This is the base class for all custom Exceptions that are thrown in this API."
}