runtime.go 494 B

12345678910111213141516171819202122
  1. /*
  2. * Brawler
  3. *
  4. * Copyright 2019 Matthias Ladkau. All rights reserved.
  5. *
  6. * This Source Code Form is subject to the terms of the MIT
  7. * License, If a copy of the MIT License was not distributed with this
  8. * file, You can obtain one at https://opensource.org/licenses/MIT.
  9. */
  10. package rumble
  11. /*
  12. Runtime accesses the runtime environment of the function.
  13. */
  14. type Runtime interface {
  15. /*
  16. NewRuntimeError creates a new runtime error.
  17. */
  18. NewRuntimeError(t error, d string) RuntimeError
  19. }