| Home | Libraries | People | FAQ | More

## Class set_default_queue_error

boost::compute::set_default_queue_error — Exception thrown when failure to set default command queue.

## Synopsis

    // In header: <boost/compute/exception/set_default_queue_error.hpp>

    class set_default_queue_error : public std::exception {
    public:

      // public member functions
      set_default_queue_error();
      ~set_default_queue_error();
      const char * what() const;
    };

## Description

This exception is thrown when Boost.Compute fails to set up user-provided default command queue for the system.

### `set_default_queue_error` public member functions

1.     set_default_queue_error();

   Creates a new set_default_queue_error exception object.

2.     ~set_default_queue_error();

   Destroys the set_default_queue_error object.

3.     const char * what() const;

   Returns a string with a description of the error.