Sitelet https://github.com/t6d/composable_operations/issues/7
Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Meaningful error when sombody tries to invoke #execute #7

Description

@t6d

When somebody tries to invoke a protected or private, method_missing can be used to implement smarter error handling since method_missing is invoked even though the protected or private method is technically not missing but just not callable from a certain scope. Utilizing this feature, it would be possible to produce a more meaningful message explaining the user that an Operation needs to be invoked using the #perform or .perform method.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions