@mdf.js/crash
Version:
MMS - API Crash - Enhanced error management library
23 lines • 783 B
TypeScript
/**
* Copyright 2024 Mytra Control S.L. All rights reserved.
*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file
* or at https://opensource.org/licenses/MIT.
*/
import { StandardErrorCategories } from './StandardErrorCategories.t';
export interface BaseOptions {
/** Name of the error, used as a category */
name?: StandardErrorCategories;
/** Extra information error */
info?: {
/** Subject to which the error relates */
subject?: string;
/** Date of the error */
date?: Date;
/** Any other relevant information */
[]: any;
};
/** Other key information from extends error */
[]: unknown;
}
//# sourceMappingURL=BaseOptions.i.d.ts.map