class ViewModel::AccessControl

def failure(err)

if/unless DSL more readable when returning a custom failure error.
Called from composed access controls via the `env`, this is used to make the
def failure(err)
  raise ArgumentError.new("Unexpected failure type: #{err}") unless err.is_a?(StandardError)
  err
end