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.
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 |