ChemPal Documentation - v1.7.0
    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