public function __construct($message = null)
 {
     if ($message == null) {
         $message = $this->base_message;
     } else {
         $message = $this->base_message . ' `' . $message . '`';
     }
     parent::__construct($message);
 }
 public function __construct($message = null)
 {
     if ($message == null) {
         $message = 'Unknown remote error';
     } else {
         $message = 'Got error response: ' . $message;
     }
     parent::__construct($message);
 }
 public function __construct($message = null)
 {
     if (is_array($message)) {
         foreach ($message as $m) {
             $m = '`' . $m . '`';
         }
         $message = implode(', ', $message);
     }
     if ($message == null) {
         $message = $this->base_message;
     } else {
         $message = $this->base_message . ' - invalid ' . $message;
     }
     parent::__construct($message);
 }