UNPKG

907 BSource Map (JSON)View Raw
1{"version":3,"file":"error.js","sources":["../src/error.js"],"sourcesContent":["export class LogentriesError extends Error {\n constructor(msg) {\n super(msg);\n\n Error.captureStackTrace(this, this.constructor);\n\n this.name = this.constructor.name;\n this.message = msg;\n }\n}\n\nexport class BadOptionsError extends LogentriesError {\n constructor(opts, msg) {\n super(msg);\n\n this.options = opts;\n }\n}\n"],"names":["LogentriesError","options","opts","msg","BadOptionsError","Error","message","name","constructor","captureStackTrace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;IAAaA;;;AACX,2BAAYG,GAAZ,EAAiB;AAAA;;AAAA,wJACTA,GADS;;AAGfE,UAAMI,iBAAN,QAA8B,MAAKD,WAAnC;;AAEA,UAAKD,IAAL,GAAY,MAAKC,WAAL,CAAiBD,IAA7B;AACA,UAAKD,OAAL,GAAeH,GAAf;AANe;AAOhB;;;EARkCE;;IAWxBD;;;AACX,2BAAYF,IAAZ,EAAkBC,GAAlB,EAAuB;AAAA;;AAAA,yJACfA,GADe;;AAGrB,WAAKF,OAAL,GAAeC,IAAf;AAHqB;AAItB;;;EALkCF"}
\No newline at end of file