2020-12-22 12:33:28 +01:00
|
|
|
part of nyxx_interactions;
|
|
|
|
|
|
|
|
/// Thrown when 15 minutes has passed since an interaction was called.
|
2021-02-10 19:15:00 +01:00
|
|
|
class InteractionExpiredError implements Error {
|
2021-02-10 17:29:42 +01:00
|
|
|
|
2020-12-22 12:33:28 +01:00
|
|
|
/// Returns a string representation of this object.
|
|
|
|
@override
|
|
|
|
String toString() =>
|
|
|
|
"InteractionExpiredError: Interaction tokens are only valid for 15mins. It has been over 15mins and the token is now invalid.";
|
|
|
|
|
|
|
|
@override
|
|
|
|
StackTrace? get stackTrace => StackTrace.empty;
|
2021-02-10 17:29:42 +01:00
|
|
|
}
|