api.so-manager-dev.com/app/Exceptions/WellnetSoapException.php
Your Name f139a3f608
All checks were successful
Deploy api / deploy (push) Successful in 22s
支払いAPI実装
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:02:25 +09:00

28 lines
547 B
PHP

<?php
namespace App\Exceptions;
use RuntimeException;
/**
* Wellnet SOAPエラー例外
*/
class WellnetSoapException extends RuntimeException
{
private string $wellnetCode;
public function __construct(string $wellnetCode, string $message = '', ?\Throwable $previous = null)
{
$this->wellnetCode = $wellnetCode;
parent::__construct($message, 0, $previous);
}
/**
* Wellnetエラーコード取得
*/
public function getWellnetCode(): string
{
return $this->wellnetCode;
}
}