Something went wrong. Try again.
Rust-style Option and Result Classes for PHP
Something went wrong. Try again.
123456789101112<?php
namespace Ciarancoza\OptionResult\Exceptions;
class UnwrapOkException extends \RuntimeException{ public function __construct(string $message = 'Attempted to call `unwrapErr()` on `Ok` value') { parent::__construct($message); }}