Tags
- postman html parse
- postman excel
- postman collection variables
- Java
- emplace_back
- C++
- 우수한 프런트 개발자
- Android
- web developer
- postman automations
- Intellij
- Front-end developer
- solidity
- postman pre-request
- postman csv
- postman session
- 다빈치 리졸브
- postman tests
- postman collection
- Android/iOS Developer
- oracle
- Interaction developer
- UI/UX Engineer
- LSL_Script
- Unity
- MFC
- 좋은 개발자
- 프런트엔드
- postman
- c#
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Archives
- Today
- Total
목록Error Handling (1)
david's daily developer note
[Solidity] 5.Error handling : Assert, Require, Revert
솔리디티에서 에러 핸들링을 위해, revert, require, assert를 사용한다. Require 솔리디티 함수 Require 키워드를 사용하여 문제가 되는 상황이나, 의도하지 않았던 상황에서 에러를 반환하고 함수가 수행하지 않도록 할 수 있다. Require함수는 특정 조건이 참이 아닌 경우에는 에러를 발생하고 실행을 멈춘다. pragma solidity >=0.4.22 = amount, "ERC20: Not enough funds."); //function do somthing } } 예제함수는 sender가 recipient에게 이더리움을 전송하는 함수이다. 해당 함수가 정상적으로 수행되려면 sender와 recipient의 주소가 유효해야하며, (!= address(0)) 이더리움을 전송하려..
[Blockchain]/develop
2022. 8. 16. 00:13