Exception: BigO::InstantaneousExecutionError
- Inherits:
-
StandardError
- Object
- StandardError
- BigO::InstantaneousExecutionError
- Defined in:
- lib/big-o/exceptions.rb
Overview
The function runs too fast and can’t be quantified by our measurement tool.
To fix this error, it is possible to augment the number of times the function should run.
Instance Method Summary collapse
-
#initialize ⇒ InstantaneousExecutionError
constructor
A new instance of InstantaneousExecutionError.
Constructor Details
#initialize ⇒ InstantaneousExecutionError
Returns a new instance of InstantaneousExecutionError.
17 18 19 |
# File 'lib/big-o/exceptions.rb', line 17 def initialize super "Function execution time can't be quantified. (execution speed close to instantaneous)" end |