class Samovar::MissingValueError
Raised when a required value is missing.
Attributes
The command that encountered the error.
@attribute [Command]
The name of the missing field.
@attribute [Symbol]
Public Class Methods
Source
# File vendor/bundle/ruby/3.4.0/gems/samovar-2.4.1/lib/samovar/error.rb, line 55 def initialize(command, field) @command = command @field = field super "#{field} is required" end
Initialize a new missing value error.
@parameter command [Command] The command that encountered the error. @parameter field [Symbol] The name of the missing field.
Calls superclass method