Jump to content




My errors are giving me the wrong line.


  • You cannot reply to this topic
2 replies to this topic

#1 TheZen

  • Members
  • 65 posts
  • LocationHoquiam Wa

Posted 07 January 2017 - 11:30 PM

I'm making an API and i have it programmed to tell the user if they do something wrong but when it sends the error() message it gives the line that my function is on in the API file.

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 07 January 2017 - 11:43 PM

Sounds like you want to set an error level of 2.

https://www.lua.org/pil/8.5.html

#3 TheZen

  • Members
  • 65 posts
  • LocationHoquiam Wa

Posted 08 January 2017 - 12:22 AM

I had just figured this out before looking back here by looking into the term APIfile thx for the help though :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users