nyxx/nyxx/lib/src/internal/exceptions/EmbedBuilderArgumentException.dart

13 lines
351 B
Dart
Raw Normal View History

part of nyxx;
/// Thrown when embed doesnt meet requirements to be valid
class EmbedBuilderArgumentException implements Exception {
/// Custom error message specific to context of exception
final String message;
EmbedBuilderArgumentException._new(this.message);
@override
String toString() => "EmbedBuilderArgumentException: $message";
2021-02-09 01:37:01 +01:00
}