in source/services/utils/error/index.ts [18:29]
constructor(...params: string[]) {
// Pass remaining arguments (including vendor specific ones) to parent constructor
super(...params);
// Maintains proper stack trace for where our error was thrown (only available on V8)
if (Error.captureStackTrace) {
Error.captureStackTrace(this, APIError);
}
this.name = "APIError";
// Custom debugging information
}