Skip to content

Add bucket/cause to errors.MaxConcurrencyReachedError #24

Description

@owenwastaken

Summary

Add an attribute to errors.MaxConcurrencyReachedError that stores which bucket (user/channel/guild/global) was reached

Why is this needed?

This attribute would allow people to create custom error messages instead of using a generic "maximum concurrency limit reached" message.

Ideal implementation

To be decided.

Checklist

  • I have searched the issue tracker and have made sure it's not a duplicate. If it is a follow up of another issue, I have specified it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions