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

namespace App\Errors;

use Matrix\Enums\ErrorCode;

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

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