Sha256: d7116bca9ed00966cebe59f79b974cd8724576491a203eb9223ceb1deccbfed4
Contents?: true
Size: 907 Bytes
Versions: 7
Compression:
Stored size: 907 Bytes
Contents
# frozen_string_literal: true module TTY class Prompt Error = Class.new(StandardError) # Raised when wrong parameter is used to configure prompt ConfigurationError = Class.new(Error) # Raised when type conversion cannot be performed ConversionError = Class.new(Error) # Raised when the passed in validation argument is of wrong type ValidationCoercion = Class.new(Error) # Raised when the required argument is not supplied ArgumentRequired = Class.new(Error) # Raised when the argument validation fails ArgumentValidation = Class.new(Error) # Raised when the argument is not expected InvalidArgument = Class.new(Error) # Raised when overriding already defined conversion ConversionAlreadyDefined = Class.new(Error) # Raised when conversion type isn't registered UnsupportedConversion = Class.new(Error) end # Prompt end # TTY
Version data entries
7 entries across 7 versions & 2 rubygems