Skip to content

[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

ParameterTypeDescription
programProgramProgram
targetOperationType

DocData | undefined

Doc data with source information.