Enumeration

HaslStringprepError

unstable since: 0.6

Declaration

error-domain Hasl.StringprepError

Description [src]

Error codes returned when running stringprep.

Available since: 0.6

Members

HASL_STRINGPREP_ERROR_EMPTY_STRING

The input was empty.

  • Value: 0
  • Available since: 0.6
HASL_STRINGPREP_ERROR_INVALID_UTF8

The input was not valid UTF-8.

  • Value: 1
  • Available since: 0.6
HASL_STRINGPREP_ERROR_PROHIBITED_CHARACTER

The input string contains at least one prohibited character.

  • Value: 2
  • Available since: 0.6
HASL_STRINGPREP_ERROR_PROHIBITED_BIDI

The input string contains a prohibited mixture of bidirectional text.

  • Value: 3
  • Available since: 0.6

Type functions

hasl_stringprep_error_quark

The error domain to identify errors with stringprep.

unstable since: 0.6