Exception: EY::BranchMismatchError
- Defined in:
- lib/engineyard/error.rb
Instance Method Summary collapse
-
#initialize(default_branch, branch) ⇒ BranchMismatchError
constructor
A new instance of BranchMismatchError.
Methods inherited from Error
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 |