Haiku API Bindings
Errors
Not logged in

Documentation | SupportKit | Errors

SYNOPSIS

Perl

use HaikuR1::Errors qw(B_OK B_ERROR)

Python

from HaikuR1.SupportKit import B_OK, B_ERROR

Python

Note that Errors does not actually exist as a submodule; instead, the constants are imported from SupportKit.

DESCRIPTION

Contains the error code constants.

For more information on error codes, see the Be Book descriptions.

CONSTANTS

Error baselines

These are useful if you want to programatically determine the category of an error.

Perl

use HaikuR1::Errors qw(:baselines)

Python

Python does not support export tags.

General errors

Perl

use HaikuR1::Errors qw(:general)

Python

Python does not support export tags.

Kernel Kit errors

Perl

use HaikuR1::Errors qw(:kernel)

Python

Python does not support export tags.

Application Kit errors

Perl

use HaikuR1::Errors qw(:application)

Python

Python does not support export tags.

Storage Kit (File System) errors

Perl

use HaikuR1::Errors qw(:storage)

Python

Python does not support export tags.

POSIX errors

Perl

use HaikuR1::Errors qw(:posix)

Python

Python does not support export tags.

Media Kit errors

Perl

use HaikuR1::Errors qw(:media)

Python

Python does not support export tags.

Mail Kit errors

Perl

use HaikuR1::Errors qw(:mail)

Python

Python does not support export tags.

Printing errors

Perl

use HaikuR1::Errors qw(:printing)

Python

Python does not support export tags.

Device Kit errors

Perl

use HaikuR1::Errors qw(:device)

Python

Python does not support export tags.

Translation Kit errors

Perl

use HaikuR1::Errors qw(:translation)

Python

Python does not support export tags.