Exception: Encoding::InvalidByteSequenceError

Inherits:
EncodingError show all

Overview

Raised by Encoding and String methods when the string being transcoded contains a byte invalid for the either the source or target encoding.

Instance Method Summary (collapse)

Methods inherited from Exception

#==, #backtrace, exception, #exception, #initialize, #inspect, log_exceptions, log_exceptions=, #message, #set_backtrace, #to_s

Constructor Details

This class inherits a constructor from Exception

Instance Method Details

- (Object) destination_encoding

- (Object) destination_encoding_name

- (Object) error_bytes

- (Boolean) incomplete_input?

Returns:

  • (Boolean)

- (Object) readagain_bytes

- (Object) source_encoding

- (Object) source_encoding_name