Exception: PerconaMigrator::SignalError
- Defined in:
- lib/percona_migrator/errors.rb
Overview
Used when the spawned process failed by receiving a signal. pt-online-schema-change returns “SIGSEGV (signal 11)” on failures.
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ SignalError
constructor
Constructor.
- #message ⇒ Object
Constructor Details
#initialize(status) ⇒ SignalError
Constructor
20 21 22 23 |
# File 'lib/percona_migrator/errors.rb', line 20 def initialize(status) super @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
15 16 17 |
# File 'lib/percona_migrator/errors.rb', line 15 def status @status end |
Instance Method Details
#message ⇒ Object
25 26 27 |
# File 'lib/percona_migrator/errors.rb', line 25 def status.to_s end |