Method: Backup::Pipeline#error_messages
- Defined in:
- lib/backup/pipeline.rb
#error_messages ⇒ Object
Returns a multi-line String, reporting all STDERR messages received from the commands in the pipeline (if any), along with the SystemCallError (Errno) message for each command which had a non-zero exit status.
80 81 82 83 84 |
# File 'lib/backup/pipeline.rb', line 80 def @error_messages ||= ( || '') + "The following system errors were returned:\n" + @errors.map {|err| "#{ err.class }: #{ err. }" }.join("\n") end |