File: errors.rb

package info (click to toggle)
ruby-sprockets 3.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 2,212 kB
  • sloc: ruby: 10,878; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
# Define some basic Sprockets error classes
module Sprockets
  class Error           < StandardError; end
  class ArgumentError           < Error; end
  class ContentTypeMismatch     < Error; end
  class NotImplementedError     < Error; end
  class NotFound                < Error; end
  class ConversionError         < NotFound; end
  class FileNotFound            < NotFound; end
  class FileOutsidePaths        < NotFound; end
end