Skip to content

MethodsCompletionException is unnecessarily complex #1452

Open

Description

@osigida

The com.slack.api.methods.MethodsCompletionException does not align with the partner's API (getMessage) and is challenging to maintain. It requires handling specific exceptions and examining complex details to retrieve information.
However, the implementation is unnecessarily complex and could be significantly simplified.

The Slack SDK version

1.45.3

Expected result:

It is easy to use Slack exceptions because they follow the default behavior and implement the default methods

Actual result:

Exception handling requires some specialized code

Activity

  1. changed the title [-](Set a clear title describing the issue)[/-] [+]MethodsCompletionException is unnecessarily complex[/+] on Mar 12, 2025
  2. added this to the 2.0.0 milestone on Mar 12, 2025
  3. WilliamBergamin commented on Mar 12, 2025

    @WilliamBergamin
    Contributor

    Hi @osigida thanks for writing is 💯

    This seems like a good feature request, this may involve a breaking change and in this case we would need to include it in our next major release

    We can leave this issue open and see if other users would like to see this prioritized

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions