Theia API Documentation v1.76.0
    Preparing search index...

    Default implementation of the ExternalApiResponseWriter.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Writes an error response with the given status, stable machine-readable error code, and optional human-readable details, e.g. body validation errors. Unlike the code, the details make no stability promise.

      Parameters

      • status: number
      • code: string
      • response: Response
      • Optionaldetails: string[]

      Returns void