This commit is contained in:
Roly Rudy Gutierrez Pinto
2018-11-01 13:24:47 -04:00
parent ca3d718578
commit d0b7d7291b
8 changed files with 83 additions and 41 deletions

View File

@@ -1,23 +0,0 @@
<?php
namespace ProcessMaker\Validation;
use Exception;
class Exception429 extends Exception
{
/**
* Status code: too many requests.
* @var int
*/
private $status = 429;
/**
* Get status code.
* @return int
*/
function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,10 @@
<?php
namespace ProcessMaker\Validation;
use Exception;
class ExceptionRestApi extends Exception
{
}