errors

package
v0.48.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CannotUpdateCourseTeacherStatus added in v0.38.0

type CannotUpdateCourseTeacherStatus struct{}

func (CannotUpdateCourseTeacherStatus) Error added in v0.38.0

func (CannotUpdateCourseTeacherStatus) StatusCode added in v0.38.0

func (err CannotUpdateCourseTeacherStatus) StatusCode() int

type NoCourseWithInvitationCodeError added in v0.11.0

type NoCourseWithInvitationCodeError struct {
	Code string
}

func (NoCourseWithInvitationCodeError) Error added in v0.11.0

func (NoCourseWithInvitationCodeError) StatusCode added in v0.11.0

func (err NoCourseWithInvitationCodeError) StatusCode() int

type NoCourseWithUUIDFound added in v0.11.0

type NoCourseWithUUIDFound struct {
	UUID string
}

func (NoCourseWithUUIDFound) Error added in v0.11.0

func (err NoCourseWithUUIDFound) Error() string

func (NoCourseWithUUIDFound) StatusCode added in v0.11.0

func (err NoCourseWithUUIDFound) StatusCode() int

type StudentAlreadyInCourse added in v0.11.0

type StudentAlreadyInCourse struct {
	CourseName string
}

func (StudentAlreadyInCourse) Error added in v0.11.0

func (err StudentAlreadyInCourse) Error() string

func (StudentAlreadyInCourse) StatusCode added in v0.11.0

func (err StudentAlreadyInCourse) StatusCode() int

type TeacherDoesNotOwnsCourseError

type TeacherDoesNotOwnsCourseError struct {
}

func (TeacherDoesNotOwnsCourseError) Error

func (TeacherDoesNotOwnsCourseError) StatusCode

func (err TeacherDoesNotOwnsCourseError) StatusCode() int

type UnchangedCourseNameError added in v0.14.0

type UnchangedCourseNameError struct {
}

func (UnchangedCourseNameError) Error added in v0.14.0

func (err UnchangedCourseNameError) Error() string

func (UnchangedCourseNameError) StatusCode added in v0.14.0

func (err UnchangedCourseNameError) StatusCode() int

type UserNotInCourseError added in v0.13.0

type UserNotInCourseError struct{}

func (UserNotInCourseError) Error added in v0.13.0

func (err UserNotInCourseError) Error() string

func (UserNotInCourseError) StatusCode added in v0.13.0

func (err UserNotInCourseError) StatusCode() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL