Documentation
    Preparing search index...

    Interface for handling and reporting HTTP errors in the server

    type ServerErrorHandler = {
        report: (error: any, ctx: HttpContext) => any;
        handle: (error: any, ctx: HttpContext) => any;
    }
    Index

    Properties

    Properties

    report: (error: any, ctx: HttpContext) => any

    Method to report errors for logging or monitoring

    handle: (error: any, ctx: HttpContext) => any

    Method to handle errors and send appropriate responses