@akkadu/error

This module exports two methods: - extendError - extendMessage

Usage no npm install needed!

<script type="module">
  import akkaduError from 'https://cdn.skypack.dev/@akkadu/error';
</script>

README

Description

This module exports two methods:

  • extendError
  • extendMessage

which simply add a string of your choosing infront of the error message. This is due to us having most of our users being mobile users and often we don't have access to remote debugging to see what is breaking. To quickly see which method or part of the code is throwing the error has proven to be beneficial when looking at for instance the logs on the eruda mobile debug console.