final class UnauthorizedException extends PortOneException (View source)

인증 정보가 유효하지 않거나 권한이 없어 PortOne API 요청이 거부되었을 때 발생하는 예외입니다.

Methods

__construct(string $message, int|null $status = null, string|null $responseBody = null, Throwable|null $previous = null, string|null $errorType = null)

PortOneException 객체를 초기화합니다.

Details

__construct(string $message, int|null $status = null, string|null $responseBody = null, Throwable|null $previous = null, string|null $errorType = null)

PortOneException 객체를 초기화합니다.

Parameters

string $message
int|null $status
string|null $responseBody
Throwable|null $previous
string|null $errorType