UNPKG

@noggin/elastic-noggin-sdk

Version:
9 lines (8 loc) 394 B
import { Batch } from "./models/types"; export declare enum ERROR_MESSAGE_TIP { QUERY_TIMEOUT = "error/message/query/runtime/timeout", ACCESS_DENIED = "error/message/security/access-denied", NOT_FOUND = "error/message/eno/not-found", INTERNAL = "error/message/server/internal" } export declare function checkBatchForError(batch: Batch, skipErrors?: ERROR_MESSAGE_TIP[]): Batch;