File size: 286 Bytes
3206347
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import BaseError from './base';

export default class GenerateAuthUrlError extends BaseError {
  constructor(error) {
    const computedError = error.response?.data || error.message;
    super(computedError);

    this.message = `Error occured while creating authorization URL!`;
  }
}