Skip to content

[F] getErrorsDocData

function getErrorsDocData(program, target): undefined | DocData

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

undefined | DocData

Doc data with source information.