warning

Hierarchy

  • ReturnsWarningsItem

Properties

item: null | string

item can be 'course' (errorcode 1 or 2) or 'module' (errorcode 1)

itemid: null | number

When item is a course then itemid is a course id. When the item is a module then itemid is a module id

message: null | string

untranslated english message to explain the warning

warningcode: null | string

errorcode can be 1 (no access rights) or 2 (not enrolled or no permissions)

Generated using TypeDoc