Exception: Sevgi::Error

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

Overview

Base error class for Sevgi failures.

Direct Known Subclasses

MissingComponentError

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:

  • (Sevgi::Error)

    always raises an instance of this class

Raises:

  • (self)


21
# File 'lib/sevgi/core.rb', line 21

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