diff options
author | Anthony F. Molinaro <molinaro@apache.org> | 2011-06-20 22:03:40 +0000 |
---|---|---|
committer | Anthony F. Molinaro <molinaro@apache.org> | 2011-06-20 22:03:40 +0000 |
commit | 76bd0050ce96f7f7bf243c8a967d2e27bebb1726 (patch) | |
tree | 3f5cd37d79e9907eb33301042730e6319a7bb5e0 /lib/erl | |
parent | 4b212b4b7f2f33277bcefcd68f3c678b2f9cff34 (diff) | |
download | thrift-76bd0050ce96f7f7bf243c8a967d2e27bebb1726.tar.gz |
THRIFT-1151 - support R13 as well as R14
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1137801 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib/erl')
-rw-r--r-- | lib/erl/src/thrift_protocol.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl/src/thrift_protocol.erl b/lib/erl/src/thrift_protocol.erl index 95b7d1adc..193b07af8 100644 --- a/lib/erl/src/thrift_protocol.erl +++ b/lib/erl/src/thrift_protocol.erl @@ -332,7 +332,7 @@ write(Proto, {{struct, {Module, StructureName}}, Data}) write(_, {{struct, {Module, StructureName}}, Data}) when is_atom(Module), is_atom(StructureName) -> - error(struct_unmatched, {{provided, element(1, Data)}, + erlang:error(struct_unmatched, {{provided, element(1, Data)}, {expected, StructureName}}); write(Proto0, {{list, Type}, Data}) |