namecomv4
Version:
A Node.js library wrapper for Name.com's V4 API, designed to simplify domain management tasks such as querying domain information, managing DNS records, and handling domain registration and transfer.
9 lines • 365 B
text/typescript
export default class NameApiError extends Error {
constructor(message: string, public catchedError:any, public httpStatusCode: number, public response:any) {
super(message);
this.name = this.constructor.name;
this.response = response;
this.httpStatusCode = httpStatusCode;
Error.captureStackTrace(this, this.constructor);
}
}