#include <stdexcept>
Go to the source code of this file.
◆ ECVL_ERROR_CANNOT_LOAD_FROM_URL
      
        
          | #define ECVL_ERROR_CANNOT_LOAD_FROM_URL   throw std::runtime_error(ECVL_ERROR_MSG "Cannot load from URL"); | 
        
      
 
 
◆ ECVL_ERROR_CANNOT_LOAD_IMAGE
      
        
          | #define ECVL_ERROR_CANNOT_LOAD_IMAGE   throw std::runtime_error(ECVL_ERROR_MSG "Cannot load image"); | 
        
      
 
 
◆ ECVL_ERROR_DEVICE_UNAVAILABLE
      
        
          | #define ECVL_ERROR_DEVICE_UNAVAILABLE | 
          ( | 
            | 
          device | ) | 
             throw std::runtime_error(ECVL_ERROR_MSG #device " device unavailable"); | 
        
      
 
 
◆ ECVL_ERROR_DIFFERENT_DEVICES
      
        
          | #define ECVL_ERROR_DIFFERENT_DEVICES   throw std::runtime_error(ECVL_ERROR_MSG "src and dst are in different devices"); | 
        
      
 
 
◆ ECVL_ERROR_DIVISION_BY_ZERO
      
        
          | #define ECVL_ERROR_DIVISION_BY_ZERO   throw std::runtime_error(ECVL_ERROR_MSG "Division by zero is not allowed."); | 
        
      
 
 
◆ ECVL_ERROR_EMPTY_IMAGE
      
        
          | #define ECVL_ERROR_EMPTY_IMAGE   throw std::runtime_error(ECVL_ERROR_MSG "Empty image provided"); | 
        
      
 
 
◆ ECVL_ERROR_FILE_DOES_NOT_EXIST
      
        
          | #define ECVL_ERROR_FILE_DOES_NOT_EXIST   throw std::runtime_error(ECVL_ERROR_MSG "File does not exist"); | 
        
      
 
 
◆ ECVL_ERROR_INCOMPATIBLE_DIMENSIONS
      
        
          | #define ECVL_ERROR_INCOMPATIBLE_DIMENSIONS   throw std::runtime_error(ECVL_ERROR_MSG "Incompatible dimensions"); | 
        
      
 
 
◆ ECVL_ERROR_MOVING_IMAGE
      
        
          | #define ECVL_ERROR_MOVING_IMAGE | 
          ( | 
            | 
          str,  | 
        
        
           | 
           | 
            | 
          device  | 
        
        
           | 
          ) | 
           |    throw std::runtime_error(ECVL_ERROR_MSG "Cannot move " #str " " #device); | 
        
      
 
 
◆ ECVL_ERROR_MSG
      
        
          | #define ECVL_ERROR_MSG   "[Error]: " | 
        
      
 
 
◆ ECVL_ERROR_NOT_ALLOWED_ON_NON_OWING_IMAGE
      
        
          | #define ECVL_ERROR_NOT_ALLOWED_ON_NON_OWING_IMAGE | 
          ( | 
            | 
          ... | ) | 
             throw std::runtime_error(ECVL_ERROR_MSG "Operation not allowed on non-owning Image" __VA_ARGS__); | 
        
      
 
 
◆ ECVL_ERROR_NOT_ALLOWED_ON_UNSIGNED_IMG
      
        
          | #define ECVL_ERROR_NOT_ALLOWED_ON_UNSIGNED_IMG   throw std::runtime_error(ECVL_ERROR_MSG "Operation not allowed on unsigned Image"); | 
        
      
 
 
◆ ECVL_ERROR_NOT_IMPLEMENTED
      
        
          | #define ECVL_ERROR_NOT_IMPLEMENTED   throw std::runtime_error(ECVL_ERROR_MSG "Not implemented"); | 
        
      
 
 
◆ ECVL_ERROR_NOT_IMPLEMENTED_WHAT
      
        
          | #define ECVL_ERROR_NOT_IMPLEMENTED_WHAT | 
          ( | 
            | 
          what | ) | 
             throw std::runtime_error(ECVL_ERROR_MSG what " not implemented"); | 
        
      
 
 
◆ ECVL_ERROR_NOT_REACHABLE_CODE
      
        
          | #define ECVL_ERROR_NOT_REACHABLE_CODE   throw std::runtime_error(ECVL_ERROR_MSG "How did you get here?"); | 
        
      
 
 
◆ ECVL_ERROR_SPLIT_DOES_NOT_EXIST
      
        
          | #define ECVL_ERROR_SPLIT_DOES_NOT_EXIST   throw std::runtime_error(ECVL_ERROR_MSG "This split does not exist in the dataset file"); | 
        
      
 
 
◆ ECVL_ERROR_UNSUPPORTED_OPENCV_DEPTH
      
        
          | #define ECVL_ERROR_UNSUPPORTED_OPENCV_DEPTH   throw std::runtime_error(ECVL_ERROR_MSG "Unsupported OpenCV depth"); | 
        
      
 
 
◆ ECVL_ERROR_UNSUPPORTED_OPENCV_DIMS
      
        
          | #define ECVL_ERROR_UNSUPPORTED_OPENCV_DIMS   throw std::runtime_error(ECVL_ERROR_MSG "Unsupported OpenCV dimensions"); | 
        
      
 
 
◆ ECVL_ERROR_UNSUPPORTED_SRC_COLORTYPE
      
        
          | #define ECVL_ERROR_UNSUPPORTED_SRC_COLORTYPE   throw std::runtime_error(ECVL_ERROR_MSG "The src ColorType is not supported by this function"); | 
        
      
 
 
◆ ECVL_ERROR_UNSUPPORTED_SRC_DATATYPE
      
        
          | #define ECVL_ERROR_UNSUPPORTED_SRC_DATATYPE   throw std::runtime_error(ECVL_ERROR_MSG "The src DataType is not supported by this function"); | 
        
      
 
 
◆ ECVL_ERROR_WRONG_PARAMS
      
        
          | #define ECVL_ERROR_WRONG_PARAMS | 
          ( | 
            | 
          msg | ) | 
             throw std::runtime_error(ECVL_ERROR_MSG "Wrong parameters - " msg); | 
        
      
 
 
◆ ECVL_WARNING_MSG
      
        
          | #define ECVL_WARNING_MSG   "[Warning]: " |