new BaseError(name, message)
Base error class needs babel-plugin-transform-builtin-extend
for correct function
- Source:
- See:
Parameters:
Name | Type | Description |
---|---|---|
name |
String
|
error name |
message |
String
|