/code/framework/RSErrorManager/RSErrorCodes.php

Description

This file defines the error codes provided by RSErrorManager.

The error codes used are within a range of -2500 to -2600.

Constants
RSERROR_ARRAY_ZERO_LENGTH = -2511 (line 87)

The array contained no elements

RSERROR_FATAL_ERROR = -2519 (line 131)

Indicates the the error is fatal.

RSERROR_FILE_NOT_FOUND = -2520 (line 147)

File not found.

RSERROR_INVALID = -2512 (line 91)

A general error indicating that the variable was not in the correct format.

RSERROR_INVALID_FOREIGN_KEY = -2513 (line 101)

Is was tried to build a reference to a non-existing primary key.

RSERROR_NOT_ARRAY = -2503 (line 48)

The value was not an array.

RSERROR_NOT_BOOLEAN = -2502 (line 44)

The value was not a boolean.

RSERROR_NOT_INTEGER = -2500 (line 36)

The value was not an integer.

RSERROR_NOT_OBJECT = -2504 (line 52)

The value was not an object.

RSERROR_NOT_SET = -2506 (line 60)

The variable was not set.

RSERROR_NOT_STRING = -2501 (line 40)

The value was not a string.

RSERROR_NO_SUCH_CLASS = -2514 (line 111)

It was tried to instantinate a non-existing class.

RSERROR_NO_SUCH_FUNCTION = -2516 (line 119)

It was tried to call a non-existing method.

RSERROR_NO_SUCH_METHOD = -2515 (line 115)

It was tried to call a non-existing method.

RSERROR_NO_SUCH_RECORD = -2517 (line 123)

It was tried to access a non-existing record.

RSERROR_PERMISSION_DENIED = -2518 (line 127)

A permission violation occurred.

RSERROR_TOO_HIGH = -2509 (line 79)

The integer variable was too high.

RSERROR_TOO_LONG = -2507 (line 71)

The string variable was too long.

RSERROR_TOO_LOW = -2510 (line 83)

The integer variable was too low.

RSERROR_TOO_SHORT = -2508 (line 75)

The string variabe was too short.

RSERROR_UNKNOWN = -2520 (line 135)

An unknown error.

RSERROR_WRONG_TYPE = -2505 (line 56)

The variable did not have the correct type.

Documentation generated on Mon, 8 Dec 2003 13:13:05 +0100 by phpDocumentor 1.2.3