enum GLib::ErrorType

Overview

The possible errors, used in the v_error field of #GTokenValue, when the token is a %G_TOKEN_ERROR.

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/g_lib.cr

Enum Members

Unknown = 0_u32

unknown error

UnexpEof = 1_u32

unexpected end of file

UnexpEofInString = 2_u32

unterminated string constant

UnexpEofInComment = 3_u32

unterminated comment

NonDigitInConst = 4_u32

non-digit character in a number

DigitRadix = 5_u32

digit beyond radix in a number

FloatRadix = 6_u32

non-decimal floating point number

FloatMalformed = 7_u32

malformed floating point number

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Instance Method Detail

def digit_radix? #

[View source]
def float_malformed? #

[View source]
def float_radix? #

[View source]
def non_digit_in_const? #

[View source]
def unexp_eof? #

[View source]
def unexp_eof_in_comment? #

[View source]
def unexp_eof_in_string? #

[View source]
def unknown? #

[View source]