fix
This commit is contained in:
@@ -37,7 +37,6 @@ use Espo\ORM\Entity;
|
||||
class CurrencyType extends FloatType
|
||||
{
|
||||
private const DEFAULT_PRECISION = 13;
|
||||
private const DEFAULT_SCALE = 4;
|
||||
|
||||
public function __construct(private Config $config) {}
|
||||
|
||||
|
||||
@@ -29,12 +29,19 @@
|
||||
|
||||
namespace Espo\Core\Exceptions;
|
||||
|
||||
use Throwable;
|
||||
|
||||
class ServiceUnavailable extends \Exception implements HasBody
|
||||
{
|
||||
/** @var int */
|
||||
protected $code = 503;
|
||||
private ?string $body = null;
|
||||
|
||||
final public function __construct(string $message = '', int $code = 0, Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create with a body (supposed to be sent to the frontend).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user