class Dry::Types::Result::Failure
def failure?
-
(true)
-
def failure? true end
def initialize(input, error)
-
error
(#to_s
) -- -
input
(Object
) --
def initialize(input, error) super(input) @error = error end
def success?
-
(false)
-
def success? false end
def to_s
-
(String)
-
def to_s error.to_s end