Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    List of OSErrors

    Scheduled Pinned Locked Moved MicroPython
    oserrorwipymicropython
    3 Posts 3 Posters 1.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      JonahT
      last edited by

      Hey all,

      I've been looking around, and I haven't been able to find anything regarding what the different OSError numbers stand for. Is there any central place where they're all defined?

      Just FYI, I've gotten the following so far:
      -17040
      -15120
      -20864
      -1
      ... and more

      Can anyone point me in the right direction?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • N Offline
        nevercast
        last edited by

        This is the micropython ones:
        https://github.com/micropython/micropython-lib/blob/master/errno/errno.py

        Unfortunately there isn't really any constraint that I can see on which error numbers are used. They can be thrown from anywhere with any number. So the right direction is the entirety of the firmware http://github.com/pycom. Both their fork of their IDF and pycom-micropython-sigfox will have more of them.

        1 Reply Last reply Reply Quote 1
        • T Offline
          this.wiederkehr
          last edited by

          See my answer regarding oserror from tls in the post:

          https://forum.pycom.io/topic/2164/lopy-http-post-request-oserror/9

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom