summaryrefslogtreecommitdiff
path: root/src/Errors/UnknownError.php
blob: f86159729ef435ffca9381d82f56f90beefacd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace App\Errors;

class UnknownError extends Exception
{
  public function __construct(string $message, int $httpCode)
  {
    parent::__construct(ErrorCode::UNKNOWN, $message, $httpCode);
  }

  public function getAdditionalData(): array
  {
    return [];
  }
}