Class Informix::ExcInfo
In: lib/informix/exceptions.rb
Parent: Object

The ExcInfo class works as an object representation of an Informix error state

Methods

to_s  

Constants

FORMAT = "%-15s: %s\n".freeze

Public Instance methods

excinfo.to_s => string

Returns a string representation of the error.

[Source]

    # File lib/informix/exceptions.rb, line 47
47:     def to_s
48:       ret = "\n"
49:       each_pair do |member, value|
50:         ret += sprintf(FORMAT, member.to_s, value)
51:       end
52:       ret
53:     end

[Validate]