blob: 8eca1fdb1c599b64a60819566e4c749933dd2bfa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/util/exception.h>
namespace storage::spi {
/**
* Exception used where the cause has already been reported to the user, so
* one only wants to wind back to caller, and not have it log it or print
* backtrace.
*
* Used to create good log errors, and avoid caller printing backtrace, or an
* inspecific error.
*/
VESPA_DEFINE_EXCEPTION(HandledException, vespalib::Exception);
}
|