---
title: OpusStrerrorApi
description: "通过错误码获取文字错误信息接口，类似Opus 1.3.1版本的opus_strerror接口。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/240RC1/armnative/kunpengcpsvideo_16_0103.html
sourcePath: /source/zh/kunpengboostkithistory/240RC1/armnative/kunpengcpsvideo_16_0103.html
indexId: 3c10241ebe0cd3906c63c58980457a21e02d5016b2b803be224d4f4c356604b079
---
# OpusStrerrorApi

#### 函数功能

通过错误码获取文字错误信息接口，类似Opus 1.3.1版本的opus_strerror接口。


#### 约束说明

NA


#### 函数原型

const char *OpusStrerrorApi(int error)


#### 参数说明

与Opus 1.3.1中opus_strerror接口一致，请参见Opus 1.3.1中定义。


#### 返回值说明

与Opus 1.3.1中opus_strerror接口一致，请参见Opus 1.3.1中定义。
