Skip to content

Commit

Permalink
Cleanup MemberAccessException message generated by attempts to get Er…
Browse files Browse the repository at this point in the history
…ror.Value.
  • Loading branch information
plioi committed Mar 31, 2012
1 parent 071cc3a commit ebc5f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parsley/Error.cs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public T Value
get get
{ {
var position = UnparsedTokens.Position; var position = UnparsedTokens.Position;
throw new MemberAccessException(String.Format("({0}, {1}): {2}", position.Line, position.Column, ErrorMessages)); throw new MemberAccessException(String.Format("{0}: {1}", position, ErrorMessages));
} }
} }


Expand Down

0 comments on commit ebc5f87

Please sign in to comment.