Exception: Tcelfer::DuplicateDayError

Inherits:
StorageError show all
Defined in:
lib/tcelfer/errors.rb

Overview

When we have a dupe and weren’t asked to overwrite

Instance Method Summary collapse

Instance Method Details

#http_statusObject

The return value here is used by Sinatra’s error handling It leads into the ‘error 4XX …` blocks



29
30
31
# File 'lib/tcelfer/errors.rb', line 29

def http_status
  409
end