File modules/cms/api/Exception.class.php
Last commit: Sat Oct 17 01:14:30 2026 +0200 Jan Dankert New: Using a structured class for the API-Response. The output for GET-Requests is now without the "output" layer.
1 <?php 2 3 namespace cms\api; 4 5 class Exception 6 { 7 public function __construct ( 8 public string $error, 9 public string $description, 10 public int $code, 11 #[ArrayOf(TraceElement::class)] 12 public array $trace, 13 public Exception|null $cause, 14 ){ 15 } 16 17 }
Downloadmodules/cms/api/Exception.class.php
History Sat, 17 Oct 2026 01:14:30 +0200 Jan Dankert New: Using a structured class for the API-Response. The output for GET-Requests is now without the "output" layer.