Result.this
this
(T error)Construct a Result holding an error payload.
Parameters
error | value of exactly type E; implicit conversions are rejected so the alternatives can never be confused. |
this
(T value)Construct a Result holding a success payload.
Parameters
value | value of exactly type V; implicit conversions are rejected so the alternatives can never be confused. |