lib/errors/oauth2error.js
function OAuth2Error(message, code, uri, status) {
  Error.call(this);
  this.message = message;
  this.code = code || 'server_error';
  this.uri = uri;
  this.status = status || 500;
}
function OAuth2Error(message, code, uri, status) {
  Error.call(this);
  this.message = message;
  this.code = code || 'server_error';
  this.uri = uri;
  this.status = status || 500;
}
function OAuth2Error ( message , code , uri , status ) { Error . call ( this ) ; this . message = message ; this . code = code || 'server_error' ; this . uri = uri ; this . status = status || 500 ; }
`OAuth2Error` error.

@api public
OAuth2Error error .