Skip to content

CFE_SB_CreatePipe: Improve message when OS_QueueCreate fails #308

@skliper

Description

@skliper

Currently if OS_QueueCreate fails in CFE_SB_CreatePipe, the message is just "CreatePipeErr:OS_QueueCreate returned %d,app %s". It would be valuable to show the name of the error rather than (or in addition to) the numeric error code. The OS_GetErrorName function may help here if it's available in all of the OSAL implementations.

It may be valuable to provide other details depending on the error. For example, the message in the case of OS_ERR_NAME_TAKEN could indicate the name of the pipe that was requested (and is already in use).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions