Exception: FPM::Package::FileAlreadyExists

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fpm/package.rb

Overview

This class is raised when a file already exists when trying to write.

Instance Method Summary collapse

Instance Method Details

#to_sObject

Get a human-readable error message



26
27
28
# File 'lib/fpm/package.rb', line 26

def to_s
  return "File already exists, refusing to continue: #{super}"
end