Exception: MultiZip::MemberError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/multi_zip/errors.rb

Direct Known Subclasses

MemberNotFoundError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(member_path) ⇒ MemberError

Returns a new instance of MemberError.



26
27
28
# File 'lib/multi_zip/errors.rb', line 26

def initialize(member_path)
  @member_path = member_path
end

Instance Attribute Details

#member_pathObject (readonly)

Returns the value of attribute member_path.



25
26
27
# File 'lib/multi_zip/errors.rb', line 25

def member_path
  @member_path
end

Instance Method Details

#messageObject



29
30
31
# File 'lib/multi_zip/errors.rb', line 29

def message
  "Member \"#{@member_path}\" not found."
end