summaryrefslogtreecommitdiff
path: root/prom/src/prom_errors.h
blob: 006a184086f153393292186e92f2ff97afe2fe36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * Copyright 2019-2020 DigitalOcean Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#define PROM_STDIO_CLOSE_DIR_ERROR "failed to close dir"
#define PROM_STDIO_OPEN_DIR_ERROR "failed to open dir"
#define PROM_METRIC_INCORRECT_TYPE "incorrect metric type"
#define PROM_METRIC_INVALID_LABEL_NAME "invalid label name"
#define PROM_PTHREAD_RWLOCK_DESTROY_ERROR "failed to destroy the pthread_rwlock_t*"
#define PROM_PTHREAD_RWLOCK_INIT_ERROR "failed to initialize the pthread_rwlock_t*"
#define PROM_PTHREAD_RWLOCK_LOCK_ERROR "failed to lock the pthread_rwlock_t*"
#define PROM_PTHREAD_RWLOCK_UNLOCK_ERROR "failed to unlock the pthread_rwlock_t*"
#define PROM_REGEX_REGCOMP_ERROR "failed to compile the regular expression"
#define PROM_REGEX_REGEXEC_ERROR "failed to execute the regular expression"