plinkoerror

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

*

  • Copyright (c) Shipt. *
  • This source code is licensed under the MIT license found in the
  • LICENSE file in the root directory of this source tree.

*

  • Copyright (c) Shipt. *
  • This source code is licensed under the MIT license found in the
  • LICENSE file in the root directory of this source tree.

*

  • Copyright (c) Shipt. *
  • This source code is licensed under the MIT license found in the
  • LICENSE file in the root directory of this source tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePlinkoPanicError

func CreatePlinkoPanicError(pn interface{}, t plinko.TransitionInfo, step int, name string, stack string) error

func CreatePlinkoStateError

func CreatePlinkoStateError(state plinko.State, errorMessage string) error

func CreatePlinkoTriggerError

func CreatePlinkoTriggerError(trigger plinko.Trigger, errorMessage string) error

Types

type PlinkoPanicError

type PlinkoPanicError struct {
	plinko.TransitionInfo
	StepNumber        int
	StepName          string
	InnerError        error
	UnknownInnerError interface{}
	Stack             string
}

func (*PlinkoPanicError) Error

func (ce *PlinkoPanicError) Error() string

type PlinkoStateError

type PlinkoStateError struct {
	plinko.State
	ErrorMessage string
}

func (*PlinkoStateError) Error

func (e *PlinkoStateError) Error() string

type PlinkoTriggerError

type PlinkoTriggerError struct {
	plinko.Trigger
	ErrorMessage string
}

func (*PlinkoTriggerError) Error

func (e *PlinkoTriggerError) Error() string

Jump to

Keyboard shortcuts

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