NaCl Player API
NaCl Player API Documentation
error_codes.h
1 // Copyright (c) 2016 Samsung Electronics. 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 NACL_PLAYER_ERROR_CODES_H_
6 #define NACL_PLAYER_ERROR_CODES_H_
7 
8 namespace Samsung {
9 namespace NaClPlayer {
10 
19 class ErrorCodes {
20  public:
21  enum {
23  Success = 0,
24 
28 
30  Failed = -2,
31 
33  BadState = -3,
34 
37  WouldBlock = -4,
38 
41 
44 
46  InProgress = -7,
47 
50 
54 
57  BufferFull = -10,
58  };
59 };
60 
61 } // namespace NaClPlayer
62 } // namespace Samsung
63 
64 #endif // NACL_PLAYER_ERROR_CODES_H_
Failed to process request due to unspecified reason.
Definition: error_codes.h:30
Wrong value of argument(s) has been passed.
Definition: error_codes.h:40
Requested operation cannot be completed due to a non-existinent file.
Definition: error_codes.h:49
Requested action is already pending.
Definition: error_codes.h:46
Object on which request was made is in wrong/error state.
Definition: error_codes.h:33
Request was successfully processed.
Definition: error_codes.h:23
Requested operation is not supported.
Definition: error_codes.h:43