Class CloneError

Item cannot be cloned.

class CloneError( [code], [description], [extra] ) \ from Error( code, description, extra )

Inherited properties

code from Error Error code associated with this error.
description from Error Textual description for the error.
line from Error Line at which the error happened.
message from Error Arbitrary text used to better explain and define the error conditions.
module from Error Name of the module where the error has been generated.
origin from Error String identifying the origin of the error.
pc from Error Program counter of the instruction that raised the error.
subErrors from Error Array of sub-errors.
symbol from Error Symbol name (function or method) where the error has been raised.
systemError from Error If the error was caused by a failure.

Inherited methods

getSysErrDesc from Error returns system specific error description.
heading from Error Creates a short textual representation of the error.
toString from Error Creates a textual representation of the error.

Detailed description

class CloneError( [code], [description], [extra] ) \ from Error( code, description, extra )

codeA numeric error code.
descriptionA textual description of the error code.
extraA descriptive message explaining the error conditions.

Item cannot be cloned.

Items containing external data, provided by extension modules or embedding application, must respect a "clone" protocol that allows to share, or duplicate, the inner data between different Falcon instances of the cloned item.

If the inner core of Falcon item coming from a non-falcon source does not respect this protocol, the item cannot be cloned.

When this error is raised, it is usually because the script tried to explicitly duplicate a "very special object" (for example, as an external resource handle created by a module).


Made with faldoc 2.2.0