Exception: Exception

Defined in:
uu_os_framework-0.10.6/lib/uu/os/env/exception_extension.rb

Overview

Adds ID attribute to native Exception.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (String) code (readonly)

Exception code (may be nil).

Returns:

  • (String)


12
13
14
# File 'uu_os_framework-0.10.6/lib/uu/os/env/exception_extension.rb', line 12

def code
  @code
end

- (String) id (readonly)

Exception ID.

Returns:

  • (String)


8
9
10
# File 'uu_os_framework-0.10.6/lib/uu/os/env/exception_extension.rb', line 8

def id
  @id
end