Update besar apk finance
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class BusinessException extends RuntimeException
|
||||
{
|
||||
protected $context = array();
|
||||
|
||||
public function __construct($message, array $context = array(), $code = 422, Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, (int) $code, $previous);
|
||||
$this->context = $context;
|
||||
}
|
||||
|
||||
public function getContext()
|
||||
{
|
||||
return $this->context;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user