class Middlegem::Error
{Error} is a subclass of {ruby-doc.org/core-2.5.0/StandardError.html StandardError} from which all custom errors in middlegem
are derived. One potential use for this class is to rescue all custom errors produced by middlegem
. For example:
begin # Do something risky with middlegem here... rescue Middlegem::Error # Catch any middlegem-specific error here... end