API / Minn\Http / RequestFailed

RequestFailed final class

Minn\Http\RequestFailed · public/minn/src/Minn/Http/RequestFailed.php · 7 lines · implements Stringable, Throwable · extends RuntimeException

Thrown by Exchange::throw() when no response arrived or it was not a 2xx; the exchange rides along.

Used by 1

Constants and properties

propreadonly Minn\Http\Exchange $reply

Promoted from the constructor.

Public

new__construct(Minn\Http\Exchange $reply, string $message)#