blob: 240fddab908155a4f6fa060df592a9c9f691db2b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/util/exceptions.h>
namespace storage {
namespace 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);
} // spi
} // storage
|