09.03.2015 Views

Unicon Language Reference Clinton L. Jeffery Shamim Mohamed ...

Unicon Language Reference Clinton L. Jeffery Shamim Mohamed ...

Unicon Language Reference Clinton L. Jeffery Shamim Mohamed ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

401 co-expressions not implemented<br />

402 program not compiled with debugging option<br />

500 program malfunction<br />

600 vidget usage error<br />

9.2 System errors<br />

If an error occurs during the execution of a system function, by default the function fails and<br />

keywords &errornumber, &errortext and &errorvalue will be set. This contrasts with runtime<br />

errors, which terminate execution by default. Whereas runtime errors can be converted to failure<br />

by setting &error, system errors can be converted to a runtime error by setting keyword &syserr<br />

to a non-null value.<br />

The complete set of system errors is by definition platform specific. Error numbers above the<br />

value 1000 are used for system errors. Many of the POSIX standard system errors are supported<br />

across platforms, and error numbers between 1001 and 1040 are reserved for the system errors<br />

listed below. Platforms may report other system error codes so long as they do not conflict with<br />

existing runtime or system error codes.<br />

1001 Operation not permitted<br />

1002 No such file or directory<br />

1003 No such process<br />

1004 Interrupted system call<br />

1005 I/O error<br />

1006 No such device or address<br />

1007 Arg list too long<br />

1008 Exec format error<br />

1009 Bad file number<br />

1010 No child processes<br />

1011 Try again<br />

1012 Out of memory<br />

1013 Permission denied<br />

1014 Bad address<br />

1016 Device or resource busy<br />

1017 File exists<br />

1018 Cross-device link<br />

1019 No such device<br />

1020 Not a directory<br />

1021 Is a directory<br />

1022 Invalid argument<br />

1023 File table overflow<br />

1024 Too many open files<br />

1025 Not a typewriter<br />

1027 File too large<br />

1028 No space left on device<br />

45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!