Method: XlibObj::Error#error_description
- Defined in:
- lib/error.rb
#error_description ⇒ Object
49 50 51 52 53 54 55 |
# File 'lib/error.rb', line 49 def error_description = 256 = FFI::MemoryPointer.new(:char, ) Xlib.XGetErrorDatabaseText(@display.to_native, 'XProtoError', "#{@error_code}", "Error code #{@error_code}", , ) .read_string end |