struct
Therapy::Result::Failure(T)
- Therapy::Result::Failure(T)
- Therapy::Result(T)
- Struct
- Value
- Object
Defined in:
therapy/result.crConstructors
Class Method Summary
Instance Method Summary
Instance methods inherited from struct Therapy::Result(T)
errors : Array(Therapy::Error)
errors,
failure? : Bool
failure?,
initialize
initialize,
map(&block : T -> Y) : Result(Y) forall Y
map,
success? : Bool
success?,
valid? : Bool
valid?,
value : T
value
Constructor methods inherited from struct Therapy::Result(T)
new
new
Constructor Detail
Class Method Detail
def self.with_msg(err_msg : String, path : Array(String | Int32) = [] of String | Int32) : Failure(T)
#