The base error class that all other error types extend from. Contains common properties shared across all error types.
Copy
class ItzamError extends Error { status: number; // HTTP status code type: string; // Error type name (e.g., "ItzamAuthenticationError") timestamp: Date; // When the error occurred documentation: string; // Link to relevant documentation}