module Dry module Schema module Extensions module Hints module ResultMethods # @see Result#errors # # @api public def errors(options = EMPTY_HASH) message_set(options.merge(hints: false)).dump end # Get all messages including hints # # @see #message_set # # @return [HashArray>] # # @api public def messages(options = EMPTY_HASH) message_set(options).dump end # Get hints exclusively without errors # # @see #message_set # # @return [HashArray>] # # @api public def hints(options = EMPTY_HASH) message_set(options.merge(failures: false)).dump end end end end end end