diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-31 15:45:54 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-31 15:45:54 +0300 |
| commit | e514b66b261c24257b149ecc6aaa52195509a2b5 (patch) | |
| tree | ae889a11eb88c36e3b70ebe8d83b7e60bc80408b /Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs | |
| parent | a56427605302770b4c0a71a5ff4da439300a2250 (diff) | |
| download | Tango-e514b66b261c24257b149ecc6aaa52195509a2b5.tar.gz Tango-e514b66b261c24257b149ecc6aaa52195509a2b5.zip | |
Working on external bridge.
Diffstat (limited to 'Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs b/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs index 81b162eac..3bb5023ca 100644 --- a/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs +++ b/Software/Visual_Studio/Tango.Transport/ResponseErrorException.cs @@ -24,7 +24,7 @@ namespace Tango.Transport /// Initializes a new instance of the <see cref="ResponseErrorException{T}"/> class. /// </summary> /// <param name="error">The error.</param> - public ResponseErrorException(MessageContainer container) : base("Response " + container.Type.ToString() + " returned with error " + container.Error.ToString() + " - " + container.ErrorMessage) + public ResponseErrorException(MessageContainer container) : base(String.Format("{0} has returned with an error ({1}).{2}{3}", container.Type.ToString(), container.Error.ToString(), Environment.NewLine, container.ErrorMessage)) { Container = container; } |
