reckfellENGINE

Error

Engine operation result codes. Error.Ok means success.

On this page
enum ErrorReckfellSharpInherits Enum

Compare an operation result with Error.Ok. Other values identify the failure; success is not represented by true.

Check the error immediately after loading, saving or changing a level. On failure, do not use the result as a successfully loaded resource. Consult the called method for its behavior and possible error codes.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Fields and constants49

AlreadyExistsField
# AlreadyExists
C#
AlreadyExists = 32

Already exists error.

AlreadyInUseField
# AlreadyInUse
C#
AlreadyInUse = 22

Already in use error.

BugField
# Bug
C#
Bug = 47

An internal implementation error. If a built-in method returns this code, record the exact method, arguments and engine version, and reduce the problem to a minimal reproducible project.

BusyField
# Busy
C#
Busy = 44

Busy error.

CantAcquireResourceField
# CantAcquireResource
C#
CantAcquireResource = 28

Can't acquire resource error.

CantConnectField
# CantConnect
C#
CantConnect = 25

Can't connect error.

CantCreateField
# CantCreate
C#
CantCreate = 20

Can't create error.

CantForkField
# CantFork
C#
CantFork = 29

Can't fork process error.

CantOpenField
# CantOpen
C#
CantOpen = 19

Can't open error.

CantResolveField
# CantResolve
C#
CantResolve = 26

Can't resolve error.

CompilationFailedField
# CompilationFailed
C#
CompilationFailed = 36

Compilation failed error.

ConnectionErrorField
# ConnectionError
C#
ConnectionError = 27

Connection error.

CyclicLinkField
# CyclicLink
C#
CyclicLink = 40

Cycling link (import cycle) error.

DatabaseCantReadField
# DatabaseCantRead
C#
DatabaseCantRead = 34

Database: Read error.

DatabaseCantWriteField
# DatabaseCantWrite
C#
DatabaseCantWrite = 35

Database: Write error.

DoesNotExistField
# DoesNotExist
C#
DoesNotExist = 33

Does not exist error.

DuplicateSymbolField
# DuplicateSymbol
C#
DuplicateSymbol = 42

Duplicate symbol error.

FailedField
# Failed
C#
Failed = 1

Generic error.

FileAlreadyInUseField
# FileAlreadyInUse
C#
FileAlreadyInUse = 11

File: Already in use error.

FileBadDriveField
# FileBadDrive
C#
FileBadDrive = 8

File: Bad drive error.

FileBadPathField
# FileBadPath
C#
FileBadPath = 9

File: Bad path error.

FileCantOpenField
# FileCantOpen
C#
FileCantOpen = 12

File: Can't open error.

FileCantReadField
# FileCantRead
C#
FileCantRead = 14

File: Can't read error.

FileCantWriteField
# FileCantWrite
C#
FileCantWrite = 13

File: Can't write error.

FileCorruptField
# FileCorrupt
C#
FileCorrupt = 16

File: Corrupt error.

FileEofField
# FileEof
C#
FileEof = 18

File: End of file (EOF) error.

FileMissingDependenciesField
# FileMissingDependencies
C#
FileMissingDependencies = 17

File: Missing dependencies error.

FileNoPermissionField
# FileNoPermission
C#
FileNoPermission = 10

File: No permission error.

FileNotFoundField
# FileNotFound
C#
FileNotFound = 7

File: Not found error.

FileUnrecognizedField
# FileUnrecognized
C#
FileUnrecognized = 15

File: Unrecognized error.

HelpField
# Help
C#
Help = 46

Help error. Used internally when passing --version or --help as executable options.

InvalidDataField
# InvalidData
C#
InvalidData = 30

Invalid data error.

InvalidDeclarationField
# InvalidDeclaration
C#
InvalidDeclaration = 41

Invalid declaration error.

InvalidParameterField
# InvalidParameter
C#
InvalidParameter = 31

Invalid parameter error.

LinkFailedField
# LinkFailed
C#
LinkFailed = 38

Linking failed error.

LockedField
# Locked
C#
Locked = 23

Locked error.

MethodNotFoundField
# MethodNotFound
C#
MethodNotFound = 37

Method not found error.

OkField
# Ok
C#
Ok = 0

Methods that return Error return OK when no error occurred. Since OK has value 0, and all other error constants are positive integers, it can also be used in boolean checks.

Note: Many functions do not return an error code, but will print error messages to standard output.

OutOfMemoryField
# OutOfMemory
C#
OutOfMemory = 6

Out of memory (OOM) error.

ParameterRangeErrorField
# ParameterRangeError
C#
ParameterRangeError = 5

Parameter range error.

ParseErrorField
# ParseError
C#
ParseError = 43

Parse error.

PrinterOnFireField
# PrinterOnFire
C#
PrinterOnFire = 48

Printer on fire error (this is an easter egg, no built-in methods return this error code).

QueryFailedField
# QueryFailed
C#
QueryFailed = 21

Query failed error.

ScriptFailedField
# ScriptFailed
C#
ScriptFailed = 39

Script failed error.

SkipField
# Skip
C#
Skip = 45

Skip error.

TimeoutField
# Timeout
C#
Timeout = 24

Timeout error.

UnauthorizedField
# Unauthorized
C#
Unauthorized = 4

Unauthorized error.

UnavailableField
# Unavailable
C#
Unavailable = 2

Unavailable error.

UnconfiguredField
# Unconfigured
C#
Unconfigured = 3

Unconfigured error.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.