Searched refs:cTypeError (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | storage.c | 70 rb_raise(cTypeError, "Expected number type for integral field '%s' (given %s).", in native_slot_check_int_range_precision() 132 rb_raise(cTypeError, "Expected number type for float field '%s' (given %s).", in native_slot_set_value_and_case() 139 rb_raise(cTypeError, "Expected number type for double field '%s' (given %s).", in native_slot_set_value_and_case() 151 rb_raise(cTypeError, "Invalid argument for boolean field '%s' (given %s).", in native_slot_set_value_and_case() 161 rb_raise(cTypeError, "Invalid argument for string field '%s' (given %s).", in native_slot_set_value_and_case() 170 rb_raise(cTypeError, "Invalid argument for bytes field '%s' (given %s).", in native_slot_set_value_and_case() 208 rb_raise(cTypeError, in native_slot_set_value_and_case() 223 rb_raise(cTypeError, in native_slot_set_value_and_case() 780 rb_raise(cTypeError, "Expected repeated field array"); in check_repeated_field_type() 785 rb_raise(cTypeError, "Repeated field array has wrong element type"); in check_repeated_field_type() [all …]
|
D | protobuf.c | 44 VALUE cTypeError; variable 108 cTypeError = rb_const_get(protobuf, rb_intern("TypeError")); in Init_protobuf_c()
|
D | defs.c | 899 rb_raise(cTypeError, "Expected boolean for default value."); in FieldDescriptor_default_set() 1052 rb_raise(cTypeError, "FieldDescriptor does not have subdef."); in FieldDescriptor_submsg_name_set() 1094 rb_raise(cTypeError, "get method called on wrong message type"); in FieldDescriptor_get() 1111 rb_raise(cTypeError, "has method called on wrong message type"); in FieldDescriptor_has() 1130 rb_raise(cTypeError, "has method called on wrong message type"); in FieldDescriptor_clear() 1150 rb_raise(cTypeError, "set method called on wrong message type"); in FieldDescriptor_set() 2193 rb_raise(cTypeError, "Required fields are unsupported in proto3."); in proto3_validate_msgdef() 2203 rb_raise(cTypeError, in proto3_validate_enumdef()
|
D | protobuf.h | 181 extern VALUE cTypeError;
|