1 // Copyright 2017 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 SRC_INCLUDE_PUFFIN_ERRORS_H_ 6 #define SRC_INCLUDE_PUFFIN_ERRORS_H_ 7 8 namespace puffin { 9 10 // The types of the errors. 11 enum class Error { 12 kSuccess = 0, 13 kInvalidInput, 14 kInsufficientInput, 15 kInsufficientOutput, 16 kStreamIO, 17 }; 18 19 } // namespace puffin 20 21 #endif // SRC_INCLUDE_PUFFIN_ERRORS_H_ 22