Pike v8.0 release 1738

Class GSSAPI.Error

Inheritance graph
Error.Generic GSSAPI.Error
Description

Error object used for GSS-API errors.


Constant is_gssapi_error
Constant error_type

constant int GSSAPI.Error.is_gssapi_error
constant string GSSAPI.Error.error_type

Description

Object recognition constants.


Inherit Error.Generic

inherit Error.Generic : Error.Generic


Variable major_status

int GSSAPI.Error.major_status

Description

The major status code. This is a bitwise OR of one routine error code and zero or more supplementary error info bits.

See RFC 2743 section 1.2.1.1 and RFC 2744 section 3.9.1. Note that the calling errors mentioned in RFC 2744 are never thrown.

See also

major_status_messages


Variable minor_status

int GSSAPI.Error.minor_status

Description

The minor status code specific for the mechanism.

See also

minor_status_messages, minor_status_mech


Method create

GSSAPI.Error GSSAPI.Error(void|int major, void|int minor, void|string mech, void|string message, void|array backtrace)

Parameter major

Initial value for major_status.

Parameter minor

Initial value for minor_status.

Parameter mech

Object identifier on dotted-decimal form for the mechanism that minor applies to.

Parameter message

Error message. This is prepended to the message generated from major_status and/or minor_status. ": " is inserted in between.

Parameter backtrace

Backtrace. The current backtrace for the calling function is used if left out.