private static function fromType($value) { return new self(sprintf('Middleware raised an error condition: %s', $value)); }