src/bbn/user.php
public function get_error(){
    if ( $this->error ){
      return [
        'code' => $this->error,
        'text' => $this->class_cfg['errors'][$this->error]
      ];
    }
    return false;
  }
public function get_error(){
    if ( $this->error ){
      return [
        'code' => $this->error,
        'text' => $this->class_cfg['errors'][$this->error]
      ];
    }
    return false;
  }
public function get_error ( ) { if ( $ this -> error ) { return [ 'code' => $ this -> error , 'text' => $ this -> class_cfg [ 'errors' ] [ $ this -> error ] ] ; } return false ; }
Returns the last known error and false if there was no error
@return mixed
Returns the last known error and false if there was no error