Make a method to create SchemaErrors from ValidationErrors