exception.codec - Palamecia/mint GitHub Wiki
Module exception.codec
Description
load exception.codec
This module provides classes to store exception contexts raised by the codec module.
Packages
Classes
Exception.InvalidByteSequence
This class provides the context of an invalid byte sequence exception.
Inherits
Public members
| Modifiers | Member | Description |
|---|---|---|
const |
new | Create a new instance of the exception for the given encoding encoding and of... |
const |
toString | Returns the exception informations as a string. |
Private members
| Modifiers | Member | Description |
|---|---|---|
final |
encoding | Internal encoding. |
final |
offset | Internal byte offset. |
Descriptions
Exception.InvalidByteSequence.encoding
'UTF-8'
Internal encoding.
Exception.InvalidByteSequence.new
def (self, encoding, offset)
Create a new instance of the exception for the given encoding encoding and offset position.
Exception.InvalidByteSequence.offset
0
Internal byte offset.
Exception.InvalidByteSequence.toString
def (const self)
Returns the exception informations as a string.