composable_operations icon indicating copy to clipboard operation
composable_operations copied to clipboard

Meaningful error when sombody tries to invoke #execute

Open t6d opened this issue 11 years ago • 0 comments

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.

t6d avatar Jul 18 '14 14:07 t6d