# error.h File Reference

## Detailed Description

Common exception classes for the Barry library.

Definition in file error.h.

`#include "dll.h"`
`#include "pin.h"`
`#include <stdexcept>`
`#include <stdint.h>`

Include dependency graph for error.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces

namespace | Barry

## Classes

class | Barry::Error
| The base class for any future derived exceptions. More...
class | Barry::BadPassword
| A bad or unknown password when talking to the device. More...
class | Barry::PinNotFound
| Thrown by the Connector class when unable to find the requested Pin If the attached pin is not Valid(), then unable to autodetect device. More...
class | Barry::BadData
| Thrown by record classes if their data is invalid and cannot be uploaded to the Blackberry. More...
class | Barry::BadSize
| Unexpected packet size, or not enough data. More...
class | Barry::ErrnoError
| System error that provides an errno error code. More...
class | Barry::ConfigFileError
| Thrown by the ConfigFile class when encountering a serious system error while loading the global config file for a given PIN. More...
class | Barry::BadPackedFormat
| Thrown by record classes that don't recognize a given packed format code. More...
class | Barry::BadPacket
| Thrown by the socket class if a packet command's response indicates an error. More...
class | Barry::ConvertError
| Thrown by the vformat related barrysync library classes. More...
class | Barry::BackupError
| Thrown by the Backup parser class when there is a problem with the low level file operation. More...
class | Barry::RestoreError
| Thrown by the Restore builder class when there is a problem with the low level file operation. More...