#ifndef __SG_ERROR_H
#define __SG_ERROR_H

typedef enum {
  SG_OK = 0,  /**< @brief Everything is right. Keep on going this way ! */
  SG_WARNING, /**< @brief Mmmh! Something must be not perfectly clean. But I
      may be a paranoid freak... ! */
  SG_TRANSFER_FAILURE, /**< @brief There has been a problem during you task
      transfer. Either the network is down or the remote host has been
      shutdown. */
  SG_HOST_FAILURE, /**< @brief System shutdown. The host on which you are
      running has just been rebooted. Free your datastructures and
      return now !*/
  SG_TASK_CANCELLED, /**< @brief Cancelled task. This task has been cancelled 
			by somebody!*/
  SG_FATAL /**< @brief You've done something wrong. You'd better look at it... */
} SGError;


#endif // __SG_ERROR_H
