Exception: Wix::WixError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/wix/errors/wix_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ WixError

Returns a new instance of WixError.



5
6
7
# File 'lib/wix/errors/wix_error.rb', line 5

def initialize(message=nil)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



3
4
5
# File 'lib/wix/errors/wix_error.rb', line 3

def message
  @message
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/wix/errors/wix_error.rb', line 9

def to_s
  "#{@message}"
end