first commit

This commit is contained in:
Claudecio Martins
2026-06-16 10:04:10 -03:00
commit a951944997
4463 changed files with 419677 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace WorkbloomERP\Exceptions;
use Exception;
use Throwable;
class AppException extends Exception {
protected array $details = [];
public function __construct(string $message, int $code = 500, array $details = [], ?Throwable $previous = null) {
parent::__construct($message, $code, $previous);
$this->details = $details;
}
public function getDetails(): array {
return $this->details;
}
}