@decaf-ts/core
Version:
Core persistence module for the decaf framework
22 lines (21 loc) • 748 B
TypeScript
import { InternalError } from "@decaf-ts/db-decorators";
/**
* @description Error thrown during query operations
* @summary Represents errors that occur during query building or execution
* @param {string | Error} msg - The error message or Error object
* @class QueryError
* @category Errors
*/
export declare class QueryError extends InternalError {
constructor(msg: string | Error);
}
/**
* @description Error thrown during pagination operations
* @summary Represents errors that occur during pagination setup or execution
* @param {string | Error} msg - The error message or Error object
* @class PagingError
* @category Errors
*/
export declare class PagingError extends InternalError {
constructor(msg: string | Error);
}