Skip to main content
Version: Next 🚧

[F] getErrorsDocData

function getErrorsDocData(program, target): DocData | undefined

Get the documentation information for the return errors types of an operation. In most cases you probably just want to use getErrorsDoc

Parameters

ParameterTypeDescription
programProgramProgram
targetOperationType

Returns

DocData | undefined

Doc data with source information.