2018-10-04 13:50:25 +02:00
<!DOCTYPE html> < html lang = "en" >< head >< meta charSet = "utf-8" />< meta http-equiv = "X-UA-Compatible" content = "IE=edge" />< title > decisions/0002-reader-errors · Pluto</ title >< meta name = "viewport" content = "width=device-width" />< meta name = "generator" content = "Docusaurus" />< meta name = "description" content = "# 1. Reader Errors" />< meta name = "docsearch:language" content = "en" />< meta property = "og:title" content = "decisions/0002-reader-errors · Pluto" />< meta property = "og:type" content = "website" />< meta property = "og:url" content = "https://status-im.github.io/pluto/index.html" />< meta property = "og:description" content = "# 1. Reader Errors" />< meta name = "twitter:card" content = "summary" />< link rel = "shortcut icon" href = "/pluto/img/favicon.png" />< link rel = "stylesheet" href = "//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css" />< script type = "text/javascript" src = "https://buttons.github.io/buttons.js" ></ script >< script type = "text/javascript" src = "/pluto/js/pluto.js" ></ script >< link rel = "stylesheet" href = "/pluto/css/prism.css" />< link rel = "stylesheet" href = "/pluto/css/main.css" /></ head >< body class = "sideNavVisible separateOnPageNav" >< div class = "fixedHeaderContainer" >< div class = "headerWrapper wrapper" >< header >< a href = "/pluto/" >< img class = "logo" src = "/pluto/img/logo_white.png" alt = "Pluto" />< h2 class = "headerTitleWithLogo" > Pluto</ h2 ></ a >< div class = "navigationWrapper navigationSlider" >< nav class = "slidingNav" >< ul class = "nav-site nav-site-internal" >< li class = "" >< a href = "/pluto/docs/Manifesto.html" target = "_self" > Docs</ a ></ li >< li class = "" >< a href = "/pluto/examples.html" target = "_self" > Examples</ a ></ li >< li class = "" >< a href = "/pluto/try.html" target = "_self" > Try</ a ></ li ></ ul ></ nav ></ div ></ header ></ div ></ div >< div class = "navPusher" >< div class = "docMainWrapper wrapper" >< div class = "container mainContainer docMainContainer" >< div class = "wrapper" >< div class = "post" >< header class = "postHeader" >< h1 class = "postHeaderTitle" > decisions/0002-reader-errors</ h1 ></ header >< article >< div >< span >< h1 >< a class = "anchor" aria-hidden = "true" id = "1-reader-errors" ></ a >< a href = "#1-reader-errors" aria-hidden = "true" class = "hash-link" >< svg class = "hash-link-icon" aria-hidden = "true" height = "16" version = "1.1" viewBox = "0 0 16 16" width = "16" >< path fill-rule = "evenodd" d = "M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z" ></ path ></ svg ></ a > 1. Reader Errors</ h1 >
2018-07-06 09:39:55 +00:00
< table >
< thead >
< tr >< th > Date</ th >< th > Tags</ th ></ tr >
</ thead >
< tbody >
< tr >< td > 2018-06-27</ td >< td > archi</ td ></ tr >
</ tbody >
</ table >
< h2 >< a class = "anchor" aria-hidden = "true" id = "status" ></ a >< a href = "#status" aria-hidden = "true" class = "hash-link" >< svg class = "hash-link-icon" aria-hidden = "true" height = "16" version = "1.1" viewBox = "0 0 16 16" width = "16" >< path fill-rule = "evenodd" d = "M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z" ></ path ></ svg ></ a > Status</ h2 >
< p > Proposed</ p >
< h2 >< a class = "anchor" aria-hidden = "true" id = "context" ></ a >< a href = "#context" aria-hidden = "true" class = "hash-link" >< svg class = "hash-link-icon" aria-hidden = "true" height = "16" version = "1.1" viewBox = "0 0 16 16" width = "16" >< path fill-rule = "evenodd" d = "M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z" ></ path ></ svg ></ a > Context</ h2 >
< p > A number of errors might happen during an extension definition read. End users must have access to precise knowledge of which errors were raised.</ p >
< h2 >< a class = "anchor" aria-hidden = "true" id = "decision" ></ a >< a href = "#decision" aria-hidden = "true" class = "hash-link" >< svg class = "hash-link-icon" aria-hidden = "true" height = "16" version = "1.1" viewBox = "0 0 16 16" width = "16" >< path fill-rule = "evenodd" d = "M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z" ></ path ></ svg ></ a > Decision</ h2 >
< p > To facilitate handling all errors will have the same shape and share common attributes. See newly introduced < code > pluto.reader.errors</ code > namespace.</ p >
< h2 >< a class = "anchor" aria-hidden = "true" id = "consequences" ></ a >< a href = "#consequences" aria-hidden = "true" class = "hash-link" >< svg class = "hash-link-icon" aria-hidden = "true" height = "16" version = "1.1" viewBox = "0 0 16 16" width = "16" >< path fill-rule = "evenodd" d = "M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z" ></ path ></ svg ></ a > Consequences</ h2 >
< p > All errors accumulated during read will follow proposed format.</ p >
2018-10-04 13:50:25 +02:00
</ span ></ div ></ article ></ div >< div class = "docs-prevnext" ></ div ></ div ></ div >< nav class = "onPageNav docOnPageNav" >< ul class = "toc-headings" >< li >< a href = "#status" > Status</ a ></ li >< li >< a href = "#context" > Context</ a ></ li >< li >< a href = "#decision" > Decision</ a ></ li >< li >< a href = "#consequences" > Consequences</ a ></ li ></ ul ></ nav ></ div >< footer class = "nav-footer" id = "footer" >< section class = "sitemap" >< a href = "/pluto/" class = "nav-home" >< img src = "/pluto/img/logo_white.png" alt = "Pluto" width = "66" height = "58" /></ a >< div >< h5 > Docs</ h5 >< a href = "docs/Tutorial" > Getting Started</ a >< a href = "docs/API" > API Reference</ a ></ div >< div >< h5 > Community</ h5 >< a href = "https://chat.status.im" > Project Chat</ a >< a href = "https://twitter.com/ethstatus" target = "_blank" rel = "noreferrer noopener" > Twitter</ a ></ div >< div >< h5 > More</ h5 >< a href = "https://blog.status.im/" > Blog</ a >< a href = "https://github.com/status-im/pluto/" > GitHub</ a ></ div ></ section >< section class = "copyright" > Copyright © 2018 Status.im</ section ></ footer ></ div ></ body ></ html >