Skip to content

Commit 760a805

Browse files
committed
Use word “error” in error class.
Subclassed from original error incase anyone was rescuing it.
1 parent 5847306 commit 760a805

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/sprockets/rails/helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ module Sprockets
77
module Rails
88
module Helper
99
class AssetNotFound < StandardError; end
10+
class AssetNotPrecompiled < StandardError; end
1011

11-
class AssetNotPrecompiled < StandardError
12+
class AssetNotPrecompiledError < AssetNotPrecompiled
1213
include Sprockets::Rails::Utils
1314
def initialize(source)
1415
msg =

0 commit comments

Comments
 (0)