issues
search
sindresorhus
/
serialize-error
Serialize/deserialize an error into a plain object
MIT License
538
stars
63
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Optionally preserve current stack
#98
fregante
opened
1 month ago
4
Remove JSON.stringify from usage
#97
mifi
closed
2 months ago
0
bundle for browser
#96
latica-jp
closed
6 months ago
0
v9+ throws ERR_REQUIRE_ESM when imported
#95
jmechevarria
closed
9 months ago
1
Remove direct usage of Buffer
#94
VictorPuga
closed
1 year ago
0
Remove direct usage of Buffer
#93
VictorPuga
closed
1 year ago
0
Add support for cjs
#92
DominicVonkPON
closed
1 year ago
1
Feature request: handle AggregateErrors
#91
sandinmyjoints
opened
1 year ago
0
`cause` prop is not being serialized
#90
razbensimon
closed
1 year ago
4
ESBuild error when importing serialize-error
#89
casertap
closed
1 year ago
1
ERR_REQUIRE_ESM
#88
jeremythille
closed
1 year ago
1
Received error object is not extensible when calling serialize error
#87
Raynos
closed
1 year ago
0
`option` to treat undefined as null
#86
bombillazo
closed
1 year ago
1
Keep old versions of the lib on a separate branch
#85
belchior
closed
1 year ago
1
Enumerable properties are made non-enumerable
#84
MikeJerred
opened
1 year ago
0
Visibility of undefined values in the objects
#83
dawidk92
closed
1 year ago
0
Error require of ES Module not supported
#82
MickL
closed
1 year ago
21
If string is passed as unknown, the value returned from serializeError is badly typed as ErrorObject
#81
PabloSzx
opened
2 years ago
1
Jest encounters `SyntaxError: Cannot use import statement outside a module` while trying to test code that uses `serialize-error`
#80
barshopen
closed
2 years ago
8
Wrong typescript definition for serializeError
#79
ghost
closed
2 years ago
4
Wrong typescript declaration for errorConstructors
#78
ghost
opened
2 years ago
7
Expect a `message` property at a minimum to be interpreted as an Error
#77
fregante
closed
2 years ago
3
`deserializeError` serializes/destroys properties unnecessarily
#76
fregante
opened
2 years ago
1
Unknown object type "asyncfunction"
#75
walshe
closed
2 years ago
3
Nested errors are still not serialized
#74
fregante
closed
2 years ago
0
Actually serialize nested Errors
#73
fregante
closed
2 years ago
2
Handle custom error constructors with incompatible signatures
#72
fregante
opened
2 years ago
0
Add `useToJSON` option
#71
fregante
closed
2 years ago
1
Preserve error constructor
#70
fregante
closed
2 years ago
6
Deserialize nested errors
#69
fregante
closed
2 years ago
1
Add `isErrorLike()` method
#68
fregante
closed
2 years ago
5
`toJSON` example is confusing
#67
fregante
closed
2 years ago
0
Optionally ignore `toJSON`
#66
fregante
closed
2 years ago
2
Add support for `cause` property
#65
fregante
closed
2 years ago
0
Jest encountered an unexpected token
#64
kkorus
closed
2 years ago
1
Version 9.1.1 with CRA default Babel config gives "Module parse failed"
#63
gianpaolopascasidc
closed
2 years ago
1
Use public instance class field for `name` property
#62
fregante
closed
2 years ago
0
Drop unnecessary `captureStackTrace` call
#61
fregante
closed
2 years ago
3
Add check if value exists
#60
rj-david
closed
2 years ago
0
Error: Cannot read property 'pipe' of null
#59
rj-david
closed
2 years ago
0
Error [ERR_REQUIRE_ESM]: require() of ES
#58
vrecan
closed
2 years ago
11
Handle streams attached to an error by replacing them with `'[object Stream]'`
#57
wodka
closed
2 years ago
12
AWS SDK v3 exposes Readable in Error object
#56
wodka
closed
2 years ago
0
The output is not JSON.stringify-safe
#55
tjconcept
opened
2 years ago
6
Add non-LTS versions of node to accepted engines
#54
danekszy
closed
2 years ago
1
CommonJS
#53
hansnull
closed
2 years ago
1
Use stricter type for JsonObject
#52
gajus
closed
2 years ago
2
Can type-fest be moved to devDependencies?
#51
EricCrosson
closed
2 years ago
4
Add support for (or document) Error#cause
#50
fregante
closed
2 years ago
4
Merge stack traces
#49
fregante
closed
3 years ago
5
Next