public function __construct($status = null, $detail = null, $type = null, $title = null, Exception $previous = null, $additional)
 {
     if (empty($detail)) {
         $detail = 'Sorry, an internal error occurred.';
     }
     if (empty($status)) {
         $status = 500;
     }
     parent::__construct($status, $detail, $status, $title, $previous, $additional);
 }
 public function __construct($status = null, $detail = null, $type = null, $title = null, Exception $previous = null, $additional)
 {
     if (empty($detail)) {
         $detail = 'The arguments of the request are poorly formatted and / or invalid. See the documentation.';
     }
     if (empty($title)) {
         $title = 'Invalid argument exception.';
     }
     if (empty($status)) {
         $status = 400;
     }
     parent::__construct($status, $detail, LogLevel::ERROR, $title, $previous, $additional);
 }
 public function __construct($status = null, $detail = null, $type = null, $title = null, Exception $previous = null, $additional)
 {
     if (empty($detail)) {
         $detail = 'The arguments listed below are invalid.';
     }
     if (empty($title)) {
         $title = 'Invalid argument exception.';
     }
     if (empty($status)) {
         $status = 400;
     }
     parent::__construct($status, $detail, $status, $title, $previous, $additional);
 }