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 10 namespace brillo { 11 namespace errors { 12 namespace stream { 13 14 // Error domain for generic stream-based errors. 15 BRILLO_EXPORT extern const char kDomain[]; 16 17 BRILLO_EXPORT extern const char kStreamClosed[]; 18 BRILLO_EXPORT extern const char kOperationNotSupported[]; 19 BRILLO_EXPORT extern const char kPartialData[]; 20 BRILLO_EXPORT extern const char kInvalidParameter[]; 21 BRILLO_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