@grow-codes/better-stack-logs - v0.1.1
Preparing search index...
index
errorForCode
Function errorForCode
errorForCode
(
code
:
ErrorCode
,
message
:
string
,
details
?:
ErrorDetails
,
)
:
BetterStackError
Creates the subclass that matches
code
.
Parameters
code
:
ErrorCode
message
:
string
Optional
details
:
ErrorDetails
Returns
BetterStackError
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@grow-codes/better-stack-logs - v0.1.1
Loading...
Creates the subclass that matches
code.