UNPKG

passport-snapchat

Version:

Snapchat (OAuth 2.0) authorization strategy for Passport.

8 lines (7 loc) 225 B
export default class SnapchatAPIError extends Error { constructor(public message: string, public code: string | number) { super(); SnapchatAPIError.captureStackTrace(this); this.name = 'SnapchatAPIError'; } }