mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
15 lines
412 B
Python
15 lines
412 B
Python
class BenchmarkNotFound(Exception):
|
|
def __init__(self, benchmark_name: str):
|
|
self.benchmark_name = benchmark_name
|
|
|
|
def __str__(self):
|
|
return f"Benchmark with name '{self.benchmark_name}' not found"
|
|
|
|
|
|
class BenchmarksNotFound(Exception):
|
|
def __init__(self, type_: str):
|
|
self.type_ = type_
|
|
|
|
def __str__(self):
|
|
return f"Benchmarks with type '{self.type_}' not found"
|