Skip to content

@nhtio/web-serialization/errors ​

Provides the errors for the serialization module.

Classes ​

ClassDescription
E_PAYLOAD_UNSERIALIZABLEThrown when the value cannot be serialized.
E_RULE_CONFLICTThrown when an encoding rule conflicts with default serialization rules.
E_VALUE_FROM_FUTURE_VERSIONThrown when a value which is being deserialized is from a future version of the library.
E_VALUE_UNDESERIALIZABLEThrown when a value cannot be serialized
E_VALUE_UNPARSEABLEThrown when a value cannot be serialized
E_VALUE_UNSERIALIZABLEThrown when a value cannot be serialized

Functions ​

FunctionDescription
W_VALUE_FROM_PAST_VERSIONDisplayed when a value which is being deserialized is from a past version of the library.