thrust

◆ code()

const error_code& thrust::system::system_error::code ( void  ) const
throw (
)
inline

Returns an object encoding the error.

Returns
ec or error_code(ev, ecat), from the constructor, as appropriate.

Referenced by ~system_error().