blob: b91a69d3b1428b98c8e5f7a47271d18238234036 [file] [log] [blame]
// Copyright 2020 The Fuchsia 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 SRC_CONNECTIVITY_WEAVE_ADAPTATION_WEAVE_DEVICE_PLATFORM_ERROR_H_
#define SRC_CONNECTIVITY_WEAVE_ADAPTATION_WEAVE_DEVICE_PLATFORM_ERROR_H_
#define WEAVE_DEVICE_PLATFORM_ERROR_MIN 12000000
#define WEAVE_DEVICE_PLATFORM_ERROR_MAX 12000999
#define _WEAVE_DEVICE_PLATFORM_ERROR(e) (WEAVE_DEVICE_PLATFORM_ERROR_MIN + (e))
// The requested configuration value did not match the expected type.
#define WEAVE_DEVICE_PLATFORM_ERROR_CONFIG_TYPE_MISMATCH _WEAVE_DEVICE_PLATFORM_ERROR(1)
// The configuration file is invalid or has an unsupported format.
#define WEAVE_DEVICE_PLATFORM_ERROR_CONFIG_INVALID _WEAVE_DEVICE_PLATFORM_ERROR(2)
#endif // SRC_CONNECTIVITY_WEAVE_ADAPTATION_WEAVE_DEVICE_PLATFORM_ERROR_H_