UNPKG

idea-toolbox

Version:
46 lines (45 loc) 981 B
import { Resource } from './resource.model'; import { ClientInfo } from './clientInfo.model'; import { ISOString } from './epoch'; /** * Table: `idea_projects_errorsReports`. */ export declare class ErrorReport extends Resource { /** * Project/product key. */ project: string; /** * The version of the project/product. */ version: string; /** * The stage currently set (dev/prod/etc.). */ stage: string; /** * The timestamp of creation (backend). */ createdAt: ISOString; /** * Timestamp of when the report should expire, expressed in seconds. */ expiresAt: number; /** * The type of the error. */ type: string; /** * The error message. */ error: string; /** * The error stack (stringified). */ stack: string; /** * The details of the client at the time of the error. */ client: ClientInfo; load(x: any): void; }