Exception: Purl::MissingVersionError

Inherits:
Error
  • Object
show all
Defined in:
lib/purl/download_url.rb

Overview

Error for missing version

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, type: nil) ⇒ MissingVersionError



248
249
250
251
# File 'lib/purl/download_url.rb', line 248

def initialize(message, type: nil)
  @type = type
  super(message)
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



246
247
248
# File 'lib/purl/download_url.rb', line 246

def type
  @type
end