Search
Preparing search index...
The search index is not available
@btilford/ts-base - v1.1.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
InvalidArg
Class InvalidArg
Hierarchy
Error
InvalidArg
Index
Constructors
constructor
Properties
actual
arg
Name
expected
message
name
stack
Error
Methods
expected
Constructors
constructor
new
Invalid
Arg
(
message
:
string
, argName
?:
undefined
|
string
, actual
?:
unknown
, expected
?:
unknown
)
:
InvalidArg
Parameters
message:
string
Optional
argName:
undefined
|
string
Optional
actual:
unknown
Optional
expected:
unknown
Returns
InvalidArg
Properties
Optional
Readonly
actual
actual
:
unknown
Optional
Readonly
arg
Name
arg
Name
:
undefined
|
string
Optional
Readonly
expected
expected
:
unknown
message
message
:
string
name
name
:
string
Optional
stack
stack
:
undefined
|
string
Static
Error
Error
:
ErrorConstructor
Methods
Static
expected
expected
(
argName
:
string
, actual
:
unknown
, expected
:
unknown
, additionalDetails
?:
string
)
:
Error
Parameters
argName:
string
actual:
unknown
expected:
unknown
Default value
additionalDetails:
string
= ""
Returns
Error
Globals
Invalid
Arg
constructor
actual
arg
Name
expected
message
name
stack
Error
expected
Generated using
TypeDoc