Teleforge API Reference - v0.1.0
Preparing search index...
bff/src
BffValidationError
Class BffValidationError
Hierarchy (
View Summary
)
BffError
BffValidationError
Index
Accessors
status
Constructors
constructor
Methods
to
JSON
from
Code
Properties
cause?
fields?
meta?
status
Code
code
Accessors
status
get
status
()
:
number
Returns
number
Constructors
constructor
new
BffValidationError
(
code
?:
BffErrorCode
,
message
?:
string
,
fields
:
readonly
FieldError
[]
,
meta
?:
Record
<
string
,
unknown
>
,
)
:
BffValidationError
Parameters
code
:
BffErrorCode
= BffErrorCodes.MALFORMED_BODY
message
:
string
= "The request payload is invalid."
fields
:
readonly
FieldError
[]
Optional
meta
:
Record
<
string
,
unknown
>
Returns
BffValidationError
Methods
to
JSON
toJSON
(
requestId
:
string
,
timestamp
?:
string
)
:
ErrorResponse
Parameters
requestId
:
string
timestamp
:
string
= ...
Returns
ErrorResponse
Static
from
Code
fromCode
(
code
:
BffErrorCode
,
options
?:
BffErrorOptions
)
:
BffError
Parameters
code
:
BffErrorCode
options
:
BffErrorOptions
= {}
Returns
BffError
Properties
Optional
Readonly
cause
cause
?:
unknown
Optional
Readonly
fields
fields
?:
readonly
FieldError
[]
Optional
Readonly
meta
meta
?:
Record
<
string
,
unknown
>
Readonly
status
Code
statusCode
:
number
Readonly
code
code
:
BffErrorCode
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Accessors
status
Constructors
constructor
Methods
to
JSON
from
Code
Properties
cause
fields
meta
status
Code
code
Teleforge API Reference - v0.1.0
Loading...