Skip to content

Instantly share code, notes, and snippets.



Created Oct 1, 2019
What would you like to do?
Javascript: Creating a custom javascript error
export class RequestError extends Error {
constructor(message, meta = {}) {
this.message = message;
this.meta = meta;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.