Exception: Sumi::Error

Inherits:
StandardError
  • Object
show all
Defined in:
function/lib/sumi/core.rb

Overview

Base error class for Sumi failures.

Class Method Summary collapse

Class Method Details

.call(*args, **kwargs) { ... } ⇒ void

This method returns an undefined value.

Raises this error class.

Parameters:

  • args (Array) —

    positional arguments forwarded to the exception constructor

  • kwargs (Hash) —

    keyword arguments forwarded to the exception constructor

Yields:

  • optional block forwarded to the exception constructor

Yield Returns:

  • (Object)

Raises:

  • (Sumi::Error) —

    always raises an instance of this class

Raises:

  • (self)


21
# File 'function/lib/sumi/core.rb', line 21

def self.call(*, **, &) = raise(self, *, **, &)