class Vmstator::VmstatError

VmstatError handles the custom error handling for this Gem

Example

# Typical use case
raise VmstatError("This is a custom error!")

Attributes

problem[R]

Public Class Methods

new(problem="Vmstat eems to have encountered a problem.") click to toggle source
Calls superclass method
# File lib/vmstator/errors.rb, line 12
def initialize(problem="Vmstat eems to have encountered a problem.")
  @problem = problem
  super(@problem)
end