the browser-facing portion of osu!
at master 602 B view raw
1<?php 2 3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 4// See the LICENCE file in the repository root for full licence text. 5 6namespace App\Exceptions; 7 8use Exception; 9 10class InvalidSignatureException extends Exception implements HasExtraExceptionData 11{ 12 public function __construct(string $message = '', private array $extras = []) 13 { 14 parent::__construct($message); 15 } 16 17 public function getContexts(): array 18 { 19 return []; 20 } 21 22 public function getExtras(): array 23 { 24 return $this->extras; 25 } 26}