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.



110
111
112
113
# File 'lib/engineyard/error.rb', line 110

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