-
Notifications
You must be signed in to change notification settings - Fork 1
exception.codec
Palamecia edited this page Dec 4, 2022
·
1 revision
load exception.codec
This module provides classes to store exception contexts raised by the codec module.
This class provides the context of an invalid byte sequence exception.
| 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. |
| Modifiers | Member | Description |
|---|---|---|
final |
encoding | Internal encoding. |
final |
offset | Internal byte offset. |
'UTF-8'
Internal encoding.
def (self, encoding, offset)
Create a new instance of the exception for the given encoding encoding and offset position.
0
Internal byte offset.
def (const self)
Returns the exception informations as a string.
- Introduction
- Variables
-
Built-in-types
- Built-in-types#none
- Built-in-types#null
- Built-in-types#boolean
- Built-in-types#number
- Built-in-types#string
- Built-in-types#regex
- Built-in-types#array
- Built-in-types#hash
- Built-in-types#iterator
- Built-in-types#async_iterator
- Built-in-types#package
- Built-in-types#function
- Built-in-types#coroutine
- Built-in-types#library
- Built-in-types#libobject
- Arithmetic-operations
- Type-casting
- Control-structures
- Function-definition
- User-defined-types
- Work-with-modules