summaryrefslogtreecommitdiff
path: root/brillo/streams/stream_errors.h
blob: 564d097dcf64fc00536c5b5bd433b3f6412aeaf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2015 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef LIBCHROMEOS_BRILLO_STREAMS_STREAM_ERRORS_H_
#define LIBCHROMEOS_BRILLO_STREAMS_STREAM_ERRORS_H_

#include <brillo/brillo_export.h>

namespace brillo {
namespace errors {
namespace stream {

// Error domain for generic stream-based errors.
BRILLO_EXPORT extern const char kDomain[];

BRILLO_EXPORT extern const char kStreamClosed[];
BRILLO_EXPORT extern const char kOperationNotSupported[];
BRILLO_EXPORT extern const char kPartialData[];
BRILLO_EXPORT extern const char kInvalidParameter[];
BRILLO_EXPORT extern const char kTimeout[];

}  // namespace stream
}  // namespace errors
}  // namespace brillo

#endif  // LIBCHROMEOS_BRILLO_STREAMS_STREAM_ERRORS_H_