ChemPal Documentation - v0.0.13-beta.5
    Preparing search index...

    Class EmptyResponseError

    Error thrown when a response is empty.

    The message to display

    The EmptyResponseError instance

    throw new EmptyResponseError("Response is empty");
    
    export class EmptyResponseError extends Error {
    constructor(message: string) {
    super(message);
    this.name = "EmptyResponseError";
    }
    }

    Hierarchy

    Index

    Constructors

    Constructors