File: custom_error_fixture.rb

package info (click to toggle)
ruby-bindex 0.8.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 228 kB
  • sloc: ruby: 295; java: 193; ansic: 62; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 165 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
module Skiptrace
  module CustomErrorFixture
    Error = Class.new(StandardError)

    def self.call
      raise Error
    rescue => exc
      exc
    end
  end
end