1// Copyright 2015 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef LIBBRILLO_BRILLO_STREAMS_STREAM_ERRORS_H_
6#define LIBBRILLO_BRILLO_STREAMS_STREAM_ERRORS_H_
7
8#include <brillo/brillo_export.h>
9
10namespace brillo {
11namespace errors {
12namespace stream {
13
14// Error domain for generic stream-based errors.
15BRILLO_EXPORT extern const char kDomain[];
16
17BRILLO_EXPORT extern const char kStreamClosed[];
18BRILLO_EXPORT extern const char kOperationNotSupported[];
19BRILLO_EXPORT extern const char kPartialData[];
20BRILLO_EXPORT extern const char kInvalidParameter[];
21BRILLO_EXPORT extern const char kTimeout[];
22
23}  // namespace stream
24}  // namespace errors
25}  // namespace brillo
26
27#endif  // LIBBRILLO_BRILLO_STREAMS_STREAM_ERRORS_H_
28