[PTFM-6116] More consistent error handling mechanism in dxcpp

  - Some new error classes
  - Adding more info to the error messages, etc