API Reference
Rockets Core API
nestjs-exception
interfaces
RuntimeExceptionInterface

Interface: RuntimeExceptionInterface

Extends

Properties

PropertyTypeDescriptionOverridesInherited from
contextRuntimeExceptionContextAdditional contextExceptionInterface.context-
errorCodestringThe error code.-ExceptionInterface.errorCode
httpStatus?HttpStatusOptional HTTP status code to use only when this exception is sent over an HTTP service. Please consider this to be a hint for API error responses.--
messagestring--ExceptionInterface.message
namestring--ExceptionInterface.name
safeMessage?stringIf set, this message will be used on responses instead of message. Use this when the main message might expose--
stack?string--ExceptionInterface.stack