Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed_builder.py | Create custom error message #16

Open
Preen1 opened this issue Feb 19, 2021 · 0 comments
Open

embed_builder.py | Create custom error message #16

Preen1 opened this issue Feb 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Preen1
Copy link
Collaborator

Preen1 commented Feb 19, 2021

Ln 206-207 make the following RuntimeError have a custom error message

            if len(_actual_embed) > self.max_embed_size:
                raise RuntimeError('Base embed without fields is already larger than max size')
@Preen1 Preen1 added the enhancement New feature or request label Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant