UNPKG

@daiso-tech/core

Version:

The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.

40 lines (39 loc) 1.02 kB
/** * @module Serde */ /** * * IMPORT_PATH: `"@daiso-tech/core/serde/contracts"` * @group Errors */ export declare class SerdeError extends Error { constructor(message: string, cause?: unknown); } /** * The error occurs when a value is unable to be serialized. * * IMPORT_PATH: `"@daiso-tech/core/serde/contracts"` * @group Errors */ export declare class SerializationSerdeError extends SerdeError { constructor(message: string, cause?: unknown); } /** * The error occurs when a value is unable to be deserialized. * * IMPORT_PATH: `"@daiso-tech/core/serde/contracts"` * @group Errors */ export declare class DeserializationSerdeError extends SerdeError { constructor(message: string, cause?: unknown); } /** * * IMPORT_PATH: `"@daiso-tech/core/serde/contracts"` * @group Errors */ export declare const SERDE_ERRORS: { readonly Base: typeof SerdeError; readonly Serialization: typeof SerializationSerdeError; readonly Deserialization: typeof DeserializationSerdeError; };