Class: Exception::Fault Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/cli/kit/core_ext.rb

Overview

This class is abstract.

Fault represents who is responsible for an error. It is used to attribute exceptions to the right owner for observability and triage.

Defined Under Namespace

Classes: ImplicitlySystem, Project, System, Terroir, User

Constant Summary collapse

SYSTEM =

: System

System.new.freeze
IMPLICITLY_SYSTEM =

: ImplicitlySystem

ImplicitlySystem.new.freeze
PROJECT =

: Project

Project.new.freeze
USER =

: User

User.new.freeze
TERROIR =

: Terroir

Terroir.new.freeze

Instance Method Summary collapse

Instance Method Details

#to_sObject

This method is abstract.

: -> String

Raises:

  • (NotImplementedError)


17
# File 'lib/cli/kit/core_ext.rb', line 17

def to_s = raise NotImplementedError, 'abstract method called'