class Stacker::Error

Overview

Base class of every error Stacker reports to its callers.

Each error carries the HTTP status and the response body historically returned by the web server, so the CLI and the web server report failures identically. The Salt module matches on those bodies: they must not change.

Direct Known Subclasses

Defined in:

stacker/errors.cr

Instance Method Summary

Instance Method Detail

def response : Hash(String, String) #

[View source]
def response_message : String #

[View source]
def status_code : Int32 #

[View source]