Property definitions

neo4j $ NeoError :: defaultinit
# An error thrown by the `neo4j` API.
#
#     var error = new NeoError("ErrorMessage", "ErrorName")
#     assert error.to_json == """{"message":"ErrorMessage","cause":null,"error":"ErrorName"}"""
class NeoError
	super Error
	serialize

	# The name of the error.
	#
	# Used to programmatically distinguish this kind of error from others.
	var name: String is serialize_as "error"

	redef fun to_s do return "[{name}] {super}"
end
lib/neo4j/error.nit:17,1--31,3