comparison Core/OrthancException.cpp @ 459:bb7ef0b076c8

new error code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Jul 2013 16:57:51 +0200
parents bdd72233b105
children 2d0a347e8cfc
comparison
equal deleted inserted replaced
458:84966299c8f8 459:bb7ef0b076c8
100 return "Accessing an inexistent item"; 100 return "Accessing an inexistent item";
101 101
102 case ErrorCode_BadRequest: 102 case ErrorCode_BadRequest:
103 return "Bad request"; 103 return "Bad request";
104 104
105 case ErrorCode_NetworkProtocol:
106 return "Error in the network protocol";
107
105 case ErrorCode_Custom: 108 case ErrorCode_Custom:
106 default: 109 default:
107 return "???"; 110 return "???";
108 } 111 }
109 } 112 }