class Hanami::Events::CloudPubsub::Middleware::Stack::InvalidMiddlewareError
Error raised when middleware is not callable
Public Class Methods
new(middleware)
click to toggle source
Calls superclass method
# File lib/hanami/events/cloud_pubsub/middleware/stack.rb, line 11 def initialize(middleware) super <<~MSG Attempted to add middleware which is not callable: #{middleware.inspect} Make sure that your middleware responds to the #call method MSG end