Something went wrong on our end
Select Git revision
hidapi32_proto.m
-
Tim Stadtmann authored
Implements overriden display-function and adapts comments to MATLAB's doc and help function in order to deliver a cleaner interface. Also, for some reason, all file-access modes in /source are marked as changed.
Tim Stadtmann authoredImplements overriden display-function and adapts comments to MATLAB's doc and help function in order to deliver a cleaner interface. Also, for some reason, all file-access modes in /source are marked as changed.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ErrorRenderer.php 448 B
<?php
namespace api\util;
use Slim\Interfaces\ErrorRendererInterface;
class ErrorRenderer implements ErrorRendererInterface
{
public function __invoke(\Throwable $exception, bool $displayErrorDetails): string
{
$message = $exception instanceof \stack_exception ? $exception->getMessage() : "An Error occured while processing the question";
return json_encode(array(
'message' => $message
));
}
}