Package pyamf :: Class ErrorAlias

[hide private]
[frames] | no frames]

# Class ErrorAlias

source code

Adapts Python exception objects to Adobe Flash Player error objects.

Since: 0.5

Instance Methods | [hide private]

getCustomProperties(self) Overrride this to provide known static properties based on the aliased class. | source code

getEncodableAttributes(self, obj, **kwargs) Returns a `tuple` containing a dict of static and dynamic attributes for an object to encode. | source code

Inherited from `ClassAlias`: `__eq__`, `__hash__`, `__init__`, `__repr__`, `__str__`, `applyAttributes`, `checkClass`, `compile`, `createInstance`, `getDecodableAttributes`, `getProxiedAttribute`, `is_compiled`

Inherited from `ClassAlias` (private): `_checkExternal`, `_compile_base_class`, `_finalise_compile`

Inherited from `object`: `__delattr__`, `__getattribute__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### getCustomProperties(self)

source code

Overrride this to provide known static properties based on the aliased class.

Overrides: ClassAlias.getCustomProperties
  (inherited documentation)

### getEncodableAttributes(self, obj, **kwargs)

source code

Returns a `tuple` containing a dict of static and dynamic attributes for an object to encode.

Parameters:
  - `codec` - An optional argument that will contain the en/decoder instance calling this function.
Overrides: ClassAlias.getEncodableAttributes
  (inherited documentation)