Exception: EY::BranchMismatchError

Inherits:
Error show all
Defined in:
lib/engineyard/error.rb

Instance Method Summary collapse

Methods inherited from Error

#ambiguous

Constructor Details

#initialize(default_branch, branch) ⇒ BranchMismatchError

Returns a new instance of BranchMismatchError.



91
92
93
94
# File 'lib/engineyard/error.rb', line 91

def initialize(default_branch, branch)
  super %|Your deploy branch is set to "#{default_branch}".\n| +
    %|If you want to deploy branch "#{branch}", use --ignore-default_branch.|
end