Err
class Err extends Result
Methods
bool
isOK()
No description
bool
isError()
No description
mixed
getValue()
No description
mixed
orElse(mixed $default)
No description
Details
at line 16
bool
isOK()
No description
at line 20
bool
isError()
No description
at line 24
mixed
getValue()
No description
at line 41
Result
map(callable $callable)
No description
at line 45
Result
mapErr(callable $callable)
No description
at line 51
mixed
orElse(mixed $default)
No description
at line 12
__construct(Throwable $error = null)
No description
at line 33
Throwable
getError()
No description
at line 37
void
setError(Throwable $error)
No description