rest-vir - v1.0.0
    Preparing search index...

    Class RestVirHandlerError

    An error thrown internally from rest-vir while handling an request. This will not include errors thrown by an endpoint or WebSocket implementation itself.

    The default service logger will only log the message of these errors, not the whole stack track (so logs are easier to read).

    Hierarchy

    • Error
      • RestVirHandlerError
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • route: Readonly<
            {
                isEndpoint: undefined
                | boolean;
                isWebSocket: undefined | boolean;
                path: string;
                service: { serviceName: string };
            },
        >
      • message: string
      • status: HttpStatus = HttpStatus.InternalServerError

      Returns RestVirHandlerError

    Properties

    name: "RestVirHandlerError" = 'RestVirHandlerError'
    status: HttpStatus = HttpStatus.InternalServerError