Error Return Codes

The AcBr::ErrorStatus enum is returned by all non-Boolean valued functions. The error code may be either a global AutoCAD error code (as listed in the Acad::ErrorStatus enum), cast to the local AcBr::ErrorStatus enum, or a local boundary representation library error code. The local error codes are defined using a starting base of 3000, so as not to conflict with the AutoCAD or AutoCAD Mechanical API error codes.