Skip to content

TryYourSizeException

Typetryyoursize (Dart)

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

Codes: Mobile SDK errors.

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

Was this page helpful?