@nevware21/ts-utils
Preparing search index...
CustomErrorConstructor
Interface CustomErrorConstructor<T>
Defines the definition of the custom error constructor Used by:
createCustomError
interface
CustomErrorConstructor
<
T
extends
Error
=
Error
>
{
new
CustomErrorConstructor
(
message
?:
string
)
:
T
;
new
CustomErrorConstructor
(
message
?:
string
)
:
Error
;
prototype
:
T
;
(
message
?:
string
)
:
T
;
(
message
?:
string
)
:
Error
;
}
Type Parameters
T
extends
Error
=
Error
Hierarchy
ErrorConstructor
CustomErrorConstructor
CustomErrorConstructor
(
message
?:
string
)
:
T
Parameters
Optional
message
:
string
Returns
T
CustomErrorConstructor
(
message
?:
string
)
:
Error
Parameters
Optional
message
:
string
Returns
Error
Index
Constructors
constructor
Properties
prototype
Constructors
constructor
new
CustomErrorConstructor
(
message
?:
string
)
:
T
Parameters
Optional
message
:
string
Returns
T
new
CustomErrorConstructor
(
message
?:
string
)
:
Error
Parameters
Optional
message
:
string
Returns
Error
Properties
Readonly
prototype
prototype
:
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
prototype
@nevware21/ts-utils
Loading...
Defines the definition of the custom error constructor Used by: createCustomError