Method: Avro::Protocol::Message#parse_errors
- Defined in:
- lib/avro/protocol.rb
#parse_errors(errors, names) ⇒ Object
153 154 155 156 157 158 |
# File 'lib/avro/protocol.rb', line 153 def parse_errors(errors, names) unless errors.is_a?(Array) raise ProtocolParseError, "Errors property not an Array: #{errors}" end Schema.real_parse(errors, names, default_namespace) end |