QTranslatableError
@quik/core / QTranslatableError
Class: QTranslatableError
Defined in: errors/QTranslatableError.ts:3
Extends
Extended by
InvalidFeatureErrorFeatureExistsErrorNoFeatureInstanceErrorFeatureDoesNotExistsErrorNoFeatureInstanceUpdateErrorInvalidFilterDefinitionErrorUnableToReadFolderErrorInvalidParameterErrorInvalidParameterTypeErrorNoFoldersDefinedForModuleErrorModuleNotFoundError
Constructors
Constructor
new QTranslatableError(
message,code?,parameters?):QTranslatableError
Defined in: errors/QTranslatableError.ts:6
Parameters
message
string
code?
number
parameters?
Record<string, unknown>
Returns
QTranslatableError
Overrides
Properties
code
code:
number
Defined in: errors/QError.ts:8
The code of the error.
Inherited from
parameters
parameters:
Record<string,any> ={}
Defined in: errors/QError.ts:12
The additional features sent to the exception.
Inherited from
Accessors
translated
Get Signature
get translated():
string
Defined in: errors/QTranslatableError.ts:12
Returns
string
Overrides
Methods
toObject()
toObject():
object
Defined in: errors/QError.ts:45
Returns
object
code
code:
number
message
message:
string
parameters
parameters:
Record<string,any>
stack
stack:
string
translated
translated:
string
Inherited from
withContext()
withContext(
context):this
Defined in: errors/QError.ts:26
Attach context metadata to the error parameters.
Parameters
context
Record<string, unknown>
Context data to attach.
Returns
this