lib.cuckoo.core.database.Error

Package lib :: Package cuckoo :: Package core :: Module database :: Class Error |
[hide private]
[frames] | no frames]

# Class Error

source code

    declarative_base() --+
                         |
                        Error

Analysis errors.

Instance Methods | [hide private]
to_dict(self) Converts object to dict. | source code
to_json(self) Converts object to JSON. | source code
__init__(self, message, task_id) | source code
__repr__(self) | source code

Class Variables | [hide private]
| __tablename__ = `"errors"`
| id = `Column(Integer(), primary_key= True)`
| message = `Column(String(255), nullable= False)`
| task_id = `Column(Integer, ForeignKey("tasks.id"), nullable= Fa`...``

Method Details | [hide private]

### to_dict(self) | source code
Converts object to dict. Returns: dict

### to_json(self) | source code
Converts object to JSON. Returns: JSON data

Class Variable Details | [hide private]

  ### task_id Value:
      Column(Integer, ForeignKey("tasks.id"), nullable= False)