public function __construct($message, TypeOutlineInterface $typeOutline, \Exception $previous = null)
 {
     parent::__construct($message, null, $previous);
     $this->typeOutline = $typeOutline;
 }
 public function __construct(array $errors, $message = 'Invalid definition')
 {
     $this->errors = $errors;
     parent::__construct($message);
 }