SPDX-License-Identifier: MIT */ /** Exception mapping to HTTP error codes. */ class RESTException extends Exception { public function __construct($message, $code = 500) { parent::__construct($message, $code); } } ?>