コード例 #1
0
 function __construct($requestId, $errorCode, $errorMessage, $statusCode)
 {
     $this->requestId = $requestId;
     $this->errorCode = $errorCode;
     $this->statusCode = $statusCode;
     parent::__construct("{$errorMessage} [requestId:{$requestId} " . "status:{$statusCode} code:{$errorCode}]");
 }
コード例 #2
0
 function __construct($requestId, $errorCode, $errorMessage, $statusCode)
 {
     $this->requestId = $requestId;
     $this->errorCode = $errorCode;
     $this->statusCode = $statusCode;
     if (is_array($errorMessage)) {
         $errorMessage = json_encode($errorMessage);
     }
     parent::__construct("{$errorMessage} [requestId:{$requestId} " . "status:{$statusCode} code:{$errorCode}]");
 }
コード例 #3
0
 function __construct($message)
 {
     parent::__construct($message);
 }