# Method GSSAPI.Error()->create()

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.