# TryYourSizeException

> Every error the SDK raises: a stable code (e.g.

Source: https://docs.tryyoursize.com/reference/flutter/errors/

*Type* · `tryyoursize (Dart)`

Every error the SDK raises: a stable `code` (e.g. `app_not_allowed`) and a message.

Codes: [Mobile SDK errors](https://docs.tryyoursize.com/mobile/errors.md).

## Properties

- **`code`** (`String`, required)
- **`message`** (`String`, required)

## Example

**Flutter**

```dart
try {
  tys = await TryYourSize.create(key);
} on TryYourSizeException catch (e) {
  debugPrint('${e.code}: ${e.message}');
}
```
