Module: AiravataErrorType

Defined in:
lib/airavata_errors_types.rb

Constant Summary collapse

UNKNOWN =
0
PERMISSION_DENIED =
1
INTERNAL_ERROR =
2
AUTHENTICATION_FAILURE =
3
INVALID_AUTHORIZATION =
4
AUTHORIZATION_EXPIRED =
5
UNKNOWN_GATEWAY_ID =
6
UNSUPPORTED_OPERATION =
7
VALUE_MAP =
{0 => "UNKNOWN", 1 => "PERMISSION_DENIED", 2 => "INTERNAL_ERROR", 3 => "AUTHENTICATION_FAILURE", 4 => "INVALID_AUTHORIZATION", 5 => "AUTHORIZATION_EXPIRED", 6 => "UNKNOWN_GATEWAY_ID", 7 => "UNSUPPORTED_OPERATION"}
VALID_VALUES =
Set.new([UNKNOWN, PERMISSION_DENIED, INTERNAL_ERROR, AUTHENTICATION_FAILURE, INVALID_AUTHORIZATION, AUTHORIZATION_EXPIRED, UNKNOWN_GATEWAY_ID, UNSUPPORTED_OPERATION]).freeze