comparison Sources/Autogenerated/sdk_OrthancPluginStorageArea.impl.h @ 77:e7ff5efb100d

Custom exception "orthanc.OrthancException" is raised instead of "ValueError"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Aug 2021 18:16:42 +0200
parents cbfc72a53970
children eb6ac5a801d1
comparison
equal deleted inserted replaced
76:8da2a7bef495 77:e7ff5efb100d
152 { 152 {
153 return PyBytes_FromStringAndSize(buffer.GetData(), buffer.GetSize()); 153 return PyBytes_FromStringAndSize(buffer.GetData(), buffer.GetSize());
154 } 154 }
155 else 155 else
156 { 156 {
157 PythonLock::RaiseException(OrthancPluginErrorCode_InternalError); 157 PythonLock::RaiseException(code);
158 return NULL; 158 return NULL;
159 } 159 }
160 } 160 }
161 161
162 static PyObject *sdk_OrthancPluginStorageArea_OrthancPluginStorageAreaRemove( 162 static PyObject *sdk_OrthancPluginStorageArea_OrthancPluginStorageAreaRemove(