|
Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
|
#include <Error.h>
Properties | |
| int | code |
| The error code. More... | |
| String * | domain |
| The error domain. More... | |
| String * | message |
| The error message. More... | |
| Object | object |
| The superclass. More... | |
Properties inherited from Object | |
| Class * | clazz |
| Every instance of Object begins with a pointer to its Class. More... | |
Methods | |
| Class * | _Error (void) |
| The Error archetype. More... | |
| Error * | initWithDomain (Error *self, String *domain, int code, String *message) |
| Initializes an Error with the given details. More... | |
Methods inherited from Object | |
| Class * | _Object (void) |
| The Object archetype. More... | |
| Object * | copy (const Object *self) |
| Creates a shallow copy of this Object. More... | |
| void | dealloc (Object *self) |
| Frees all resources held by this Object. More... | |
| String * | description (const Object *self) |
| int | hash (const Object *self) |
| Object * | init (Object *self) |
| Initializes this Object. More... | |
| _Bool | isEqual (const Object *self, const Object *other) |
| Tests equality of the other Object. More... | |
| _Bool | isKindOfClass (const Object *self, const Class *clazz) |
| Tests for Class hierarchy membership. More... | |
Protected Attributes | |
| ErrorInterface * | interface |
| The interface. More... | |
Protected Attributes inherited from Object | |
| ObjectInterface * | interface |
| The interface. More... | |
| Class * _Error | ( | void | ) |
The Error archetype.
Definition at line 166 of file Error.c.
Initializes an Error with the given details.
| self | The Error. |
| domain | The Error domain (required). |
| code | The error code. |
| message | The error message. |
NULL on error. Definition at line 128 of file Error.c.