Sha256: 3a01e4d0ff7657dac09befbbc3e0bb6b98db35c644e31952d56923f0958fca10

Contents?: true

Size: 171 Bytes

Versions: 30

Compression:

Stored size: 171 Bytes

Contents

def handler event
  response = {
    'message' => "Page Not Found. Edit the function 'catch-all' to customize this response."
  }
  render json: response, status: 404
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
faastruby-0.5.30 templates/ruby/api-404/handler.rb
faastruby-0.5.29 templates/ruby/api-404/handler.rb
faastruby-0.5.28 templates/ruby/api-404/handler.rb
faastruby-0.5.27 templates/ruby/api-404/handler.rb
faastruby-0.5.26 templates/ruby/api-404/handler.rb
faastruby-0.5.25 templates/ruby/api-404/handler.rb
faastruby-0.5.24 templates/ruby/api-404/handler.rb
faastruby-0.5.23 templates/ruby/api-404/handler.rb
faastruby-0.5.22 templates/ruby/api-404/handler.rb
faastruby-0.5.21 templates/ruby/api-404/handler.rb
faastruby-0.5.20 templates/ruby/api-404/handler.rb
faastruby-0.5.19 templates/ruby/api-404/handler.rb
faastruby-0.5.18 templates/ruby/api-404/handler.rb
faastruby-0.5.17 templates/ruby/api-404/handler.rb
faastruby-0.5.16 templates/ruby/api-404/handler.rb
faastruby-0.5.15 templates/ruby/api-404/handler.rb
faastruby-0.5.14 templates/ruby/api-404/handler.rb
faastruby-0.5.13 templates/ruby/api-404/handler.rb
faastruby-0.5.12 templates/ruby/api-404/handler.rb
faastruby-0.5.11 templates/ruby/api-404/handler.rb